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 fca9457..1b235e8 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;