[vlc-commits] qt: Handle boolean preferences

Hugo Beauzée-Luyssen git at videolan.org
Tue Aug 22 11:06:09 CEST 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Aug 22 11:03:09 2017 +0200| [ceacd64e1745e323d2ead3ed0d34b79e96d00a6a] | committer: Hugo Beauzée-Luyssen

qt: Handle boolean preferences

Reported-by: Olaf Hering <olaf at aepfle.de>

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

 modules/gui/qt/dialogs/extended.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/gui/qt/dialogs/extended.cpp b/modules/gui/qt/dialogs/extended.cpp
index 541a0598d1..fbcd70d23a 100644
--- a/modules/gui/qt/dialogs/extended.cpp
+++ b/modules/gui/qt/dialogs/extended.cpp
@@ -196,6 +196,7 @@ void ExtendedDialog::saveConfig()
                 config_PutPsz( p_intf, qtu(i.key()), qtu(value.toString()) );
                 break;
             case QMetaType::Int:
+            case QMetaType::Bool:
                 config_PutInt( p_intf, qtu(i.key()), value.toInt() ) ;
                 break;
             case QMetaType::Double:



More information about the vlc-commits mailing list