[vlc-devel] [PATCH 11/16] qt: fix settings overwriting on main_interface during MainUI destroy
Fatih Uzunoglu
fuzun54 at outlook.com
Wed Jul 29 23:04:34 CEST 2020
---
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)
--
2.25.1
More information about the vlc-devel
mailing list