[vlc-devel] commit: Qt4: save only the family of the font (Jean-Baptiste Kempf )

git version control git at videolan.org
Mon Aug 3 21:46:06 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Aug  3 21:45:36 2009 +0200| [14b15f86453faa4f32bfde6eceba882dabe8f781] | committer: Jean-Baptiste Kempf 

Qt4: save only the family of the font

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

 modules/gui/qt4/components/preferences_widgets.hpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/preferences_widgets.hpp b/modules/gui/qt4/components/preferences_widgets.hpp
index fca9457..1b235e8 100644
--- a/modules/gui/qt4/components/preferences_widgets.hpp
+++ b/modules/gui/qt4/components/preferences_widgets.hpp
@@ -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;




More information about the vlc-devel mailing list