[vlc-commits] qt: fix settings overwriting on main_interface during MainUI destroy

Fatih Uzunoglu git at videolan.org
Mon Aug 10 12:10:08 CEST 2020


vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Thu Jul 30 00:04:34 2020 +0300| [b1e0e19fbbef5372e6ad4ba2b77b2b82f5535f90] | committer: Pierre Lamot

qt: fix settings overwriting on main_interface during MainUI destroy

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b1e0e19fbbef5372e6ad4ba2b77b2b82f5535f90
---

 modules/gui/qt/maininterface/mainui.cpp | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/modules/gui/qt/maininterface/mainui.cpp b/modules/gui/qt/maininterface/mainui.cpp
index 4671e6f216..862a9492b7 100644
--- a/modules/gui/qt/maininterface/mainui.cpp
+++ b/modules/gui/qt/maininterface/mainui.cpp
@@ -84,17 +84,7 @@ MainUI::MainUI(intf_thread_t *p_intf, MainInterface *mainInterface,  QObject *pa
 
 MainUI::~MainUI()
 {
-    /* Save states */
 
-    m_settings->beginGroup("MainWindow");
-    m_settings->setValue( "pl-dock-status", m_playlistDocked );
-    m_settings->setValue( "ShowRemainingTime", m_showRemainingTime );
-
-    /* Save playlist state */
-    m_settings->setValue( "playlist-visible", m_playlistVisible );
-
-    /* Save the stackCentralW sizes */
-    m_settings->endGroup();
 }
 
 bool MainUI::setup(QQmlEngine* engine)



More information about the vlc-commits mailing list