[vlc-commits] [Git][videolan/vlc][master] qt: reset pin-controls on settings dialog cancel

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Feb 2 09:57:06 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
f791cbed by Prince Gupta at 2023-02-02T09:34:52+00:00
qt: reset pin-controls on settings dialog cancel

fixes #27773

- - - - -


1 changed file:

- modules/gui/qt/dialogs/preferences/simple_preferences.cpp


Changes:

=====================================
modules/gui/qt/dialogs/preferences/simple_preferences.cpp
=====================================
@@ -847,6 +847,7 @@ SPrefsPanel::SPrefsPanel( qt_intf_t *_p_intf, QWidget *_parent,
 
 
             CONFIG_BOOL( "qt-pin-controls", pinVideoControlsCheckbox );
+            m_resetters.push_back(std::make_unique<PropertyResetter>(ui.pinVideoControlsCheckbox, "checked"));
             QObject::connect( ui.pinVideoControlsCheckbox, &QCheckBox::stateChanged, p_intf->p_mi, &MainCtx::setPinVideoControls );
 
             ui.colorSchemeComboBox->setModel( p_intf->p_mi->getColorScheme() );



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f791cbed559a086e7aaa13c5f3dffc09f4a82dea

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f791cbed559a086e7aaa13c5f3dffc09f4a82dea
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list