]> git.sesse.net Git - vlc/commitdiff
Qt4: save only the family of the font
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 3 Aug 2009 19:45:36 +0000 (21:45 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 3 Aug 2009 19:45:36 +0000 (21:45 +0200)
modules/gui/qt4/components/preferences_widgets.hpp

index fca9457629ac73bc689a0ec647b652299b48eaa5..1b235e85abcc2311e23be9b646cc7e558dfd3f51 100644 (file)
@@ -339,7 +339,7 @@ public:
     FontConfigControl( vlc_object_t *, module_config_t *, QLabel *,
                        QFontComboBox *);
     virtual ~FontConfigControl() {};
-    virtual QString getValue(){ return font->currentFont().toString(); }
+    virtual QString getValue(){ return font->currentFont().family(); }
 protected:
     QLabel *label;
     QFontComboBox *font;