]> git.sesse.net Git - vlc/commitdiff
Qt4 - Remove QFontDialog Dependency... We don't have some CONFIG_ITEM_FONT yet.....
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 25 Jan 2008 08:42:24 +0000 (08:42 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 25 Jan 2008 08:42:24 +0000 (08:42 +0000)
modules/gui/qt4/components/preferences_widgets.cpp
modules/gui/qt4/components/preferences_widgets.hpp

index b7a2080538f893a9e0c85596223b172adf8e1ba2..139292e1579d22f3c04659b38e085d99ba4b648a 100644 (file)
@@ -44,7 +44,6 @@
 #include <QGridLayout>
 #include <QSlider>
 #include <QFileDialog>
-#include <QFontDialog>
 #include <QGroupBox>
 #include <QTreeWidgetItem>
 #include <QSignalMapper>
@@ -135,10 +134,12 @@ ConfigControl *ConfigControl::createControl( vlc_object_t *p_this,
         p_control = new DirectoryConfigControl( p_this, p_item, parent, l,
                                                 line, false );
         break;
+#if 0
     case CONFIG_ITEM_FONT:
         p_control = new FontConfigControl( p_this, p_item, parent, l,
                                            line, false );
         break;
+#endif
     case CONFIG_ITEM_KEY:
         p_control = new KeySelectorControl( p_this, p_item, parent, l, line );
         break;
@@ -337,6 +338,9 @@ void DirectoryConfigControl::updateField()
     text->setText( dir );
 }
 
+#if 0
+#include <QFontDialog>
+
 /********* String / Font **********/
 FontConfigControl::FontConfigControl( vlc_object_t *_p_this,
                         module_config_t *_p_item, QWidget *_p_widget,
@@ -357,6 +361,7 @@ void FontConfigControl::updateField()
     if( !ok ) return;
     text->setText( font.family() );
 }
+#endif
 
 /********* String / choice list **********/
 StringListConfigControl::StringListConfigControl( vlc_object_t *_p_this,
index 156b2c1c40a5780559e861144cf0524b7edecc7e..8eee6819c19caadf99cb3ed88cfb0178874708ee 100644 (file)
@@ -312,6 +312,7 @@ public slots:
     virtual void updateField();
 };
 
+#if 0
 class FontConfigControl : public FileConfigControl
 {
     Q_OBJECT;
@@ -324,6 +325,7 @@ public:
 public slots:
     virtual void updateField();
 };
+#endif
 
 class ModuleConfigControl : public VStringConfigControl
 {