vlc | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Tue Aug 22 
11:03:09 2017 +0200| [ceacd64e1745e323d2ead3ed0d34b79e96d00a6a] | committer: 
Hugo Beauzée-Luyssen

qt: Handle boolean preferences

Reported-by: Olaf Hering <[email protected]>

> 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:

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to