Commit 3e8dca47 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: use searchLineEdit in plugins dialog.

parent 76911abd
......@@ -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 );
......
......@@ -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 );
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment