cui/source/options/optgdlg.cxx | 17 ------------- cui/source/options/optgdlg.hxx | 1 cui/uiconfig/ui/optgeneralpage.ui | 47 -------------------------------------- 3 files changed, 65 deletions(-)
New commits: commit 5294c472a67c1ab18b776d8fd107070b41220d84 Author: Thorsten Behrens <thorsten.behr...@cib.de> AuthorDate: Tue Apr 21 17:19:29 2020 +0200 Commit: Balazs Varga <balazs.varga.ext...@allotropia.de> CommitDate: Wed Sep 6 20:37:34 2023 +0200 Remove collect usage info from GUI Change-Id: I1a7420c557187097b424d298c020bcb837a8261c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156484 Reviewed-by: Gabor Kelemen <kelem...@ubuntu.com> Tested-by: Balazs Varga <balazs.varga.ext...@allotropia.de> diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index b9402dfb23be..6357ba529813 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -164,7 +164,6 @@ OfaMiscTabPage::OfaMiscTabPage(weld::Container* pPage, weld::DialogController* p , m_xYearFrame(m_xBuilder->weld_widget("yearframe")) , m_xYearValueField(m_xBuilder->weld_spin_button("year")) , m_xToYearFT(m_xBuilder->weld_label("toyear")) - , m_xCrashReport(m_xBuilder->weld_check_button("crashreport")) , m_xQuickStarterFrame(m_xBuilder->weld_widget("quickstarter")) , m_xHelpImproveLabel(m_xBuilder->weld_label("label7")) //"Help Improve" #if defined(UNX) @@ -252,14 +251,6 @@ bool OfaMiscTabPage::FillItemSet( SfxItemSet* rSet ) rSet->Put( SfxUInt16Item( SID_ATTR_YEAR2000, nNum ) ); } -#if HAVE_FEATURE_BREAKPAD - if (m_xCrashReport->get_state_changed_from_saved()) - { - officecfg::Office::Common::Misc::CrashReport::set(m_xCrashReport->get_active(), batch); - bModified = true; - } -#endif - #if defined(_WIN32) if (m_xPerformFileExtCheck->get_state_changed_from_saved()) { @@ -303,14 +294,6 @@ void OfaMiscTabPage::Reset( const SfxItemSet* rSet ) else m_xYearFrame->set_sensitive(false); -#if HAVE_FEATURE_BREAKPAD - m_xCrashReport->set_active(officecfg::Office::Common::Misc::CrashReport::get() && CrashReporter::IsDumpEnable()); - m_xCrashReport->set_sensitive(!officecfg::Office::Common::Misc::CrashReport::isReadOnly() && CrashReporter::IsDumpEnable()); - m_xCrashReport->save_state(); -#else - m_xCrashReport->hide(); -#endif - const SfxPoolItem* pItem = nullptr; SfxItemState eState = rSet->GetItemState( SID_ATTR_QUICKLAUNCHER, false, &pItem ); if ( SfxItemState::SET == eState ) diff --git a/cui/source/options/optgdlg.hxx b/cui/source/options/optgdlg.hxx index 75f29c6c5a34..da69ce2bf7c8 100644 --- a/cui/source/options/optgdlg.hxx +++ b/cui/source/options/optgdlg.hxx @@ -43,7 +43,6 @@ private: std::unique_ptr<weld::Widget> m_xYearFrame; std::unique_ptr<weld::SpinButton> m_xYearValueField; std::unique_ptr<weld::Label> m_xToYearFT; - std::unique_ptr<weld::CheckButton> m_xCrashReport; std::unique_ptr<weld::Widget> m_xQuickStarterFrame; std::unique_ptr<weld::Label> m_xHelpImproveLabel; std::unique_ptr<weld::CheckButton> m_xQuickLaunchCB; diff --git a/cui/uiconfig/ui/optgeneralpage.ui b/cui/uiconfig/ui/optgeneralpage.ui index dfd8e7bd9cc2..9cfbc93452c7 100644 --- a/cui/uiconfig/ui/optgeneralpage.ui +++ b/cui/uiconfig/ui/optgeneralpage.ui @@ -266,53 +266,6 @@ <property name="top_attach">4</property> </packing> </child> - <child> - <object class="GtkFrame" id="privacyframe"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label_xalign">0</property> - <property name="shadow_type">none</property> - <child> - <!-- n-columns=1 n-rows=1 --> - <object class="GtkGrid"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="margin-start">12</property> - <property name="margin-top">6</property> - <child> - <object class="GtkCheckButton" id="crashreport"> - <property name="label" translatable="yes" context="optgeneralpage|crashreport">Sen_d crash reports to The Document Foundation</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> - <property name="halign">start</property> - <property name="use_underline">True</property> - <property name="active">True</property> - <property name="draw_indicator">True</property> - </object> - <packing> - <property name="left_attach">0</property> - <property name="top_attach">1</property> - </packing> - </child> - </object> - </child> - <child type="label"> - <object class="GtkLabel" id="label7"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label" translatable="yes" context="optgeneralpage|label7">Help Improve %PRODUCTNAME</property> - <attributes> - <attribute name="weight" value="bold"/> - </attributes> - </object> - </child> - </object> - <packing> - <property name="left_attach">0</property> - <property name="top_attach">5</property> - </packing> - </child> <child> <object class="GtkFrame" id="quickstarter"> <property name="visible">True</property>