Qt: use searchLineEdit in plugins dialog.
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 5 Jan 2009 19:19:02 +0000 (20:19 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 5 Jan 2009 19:19:31 +0000 (20:19 +0100)
modules/gui/qt4/dialogs/plugins.cpp
modules/gui/qt4/dialogs/plugins.hpp

index fc653f5..9b1665d 100644 (file)
@@ -27,6 +27,8 @@
 
 #include "plugins.hpp"
 
+#include "util/customwidgets.hpp"
+
 //#include <vlc_modules.h>
 
 #include <QTreeWidget>
@@ -69,7 +71,7 @@ PluginDialog::PluginDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
     treePlugins->sortByColumn( 1, Qt::AscendingOrder );
 
     QLabel *label = new QLabel( _("&Search:"), this );
-    edit = new QLineEdit;
+    edit = new SearchLineEdit( this );
     label->setBuddy( edit );
 
     layout->addWidget( label, 1, 0 );
index cd0c107..f5371a2 100644 (file)
@@ -29,6 +29,7 @@
 class QTreeWidget;
 class QLineEdit;
 
+class SearchLineEdit;
 class PluginDialog : public QVLCFrame
 {
     Q_OBJECT;
@@ -39,7 +40,7 @@ private:
     virtual ~PluginDialog();
 
     QTreeWidget *treePlugins;
-    QLineEdit *edit;
+    SearchLineEdit *edit;
 private slots:
     void search( const QString );
 };