From: Pino Toscano Date: Tue, 13 Feb 2007 14:37:06 +0000 (+0000) Subject: remove the clear button, already provided by klineedit X-Git-Tag: v3.80.3~63 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=c07fc48cf0f690260bcd6357eeccbb37e2f2d7e7;p=libqmvoc.git remove the clear button, already provided by klineedit header cleanup svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=633213 --- diff --git a/kdeeduui/kdeeduglossary.cpp b/kdeeduui/kdeeduglossary.cpp index 2713650..5b39475 100644 --- a/kdeeduui/kdeeduglossary.cpp +++ b/kdeeduui/kdeeduglossary.cpp @@ -20,11 +20,8 @@ #include #include -#include #include #include -#include -#include #include #include @@ -34,11 +31,9 @@ #include #include #include -#include #include #include #include -#include #include static const int FirstLetterRole = 0x00b00a00; @@ -291,11 +286,6 @@ GlossaryDialog::GlossaryDialog( bool folded, QWidget *parent ) hbox->setSpacing( spacingHint() ); hbox->activate(); - QToolButton *clear = new QToolButton( main ); - clear->setIcon( SmallIcon( "locationbar_erase" ) ); - clear->setToolTip( i18n( "Clear filter" ) ); - hbox->addWidget( clear ); - QLabel *lbl = new QLabel( main ); lbl->setText( i18n( "Search:" ) ); hbox->addWidget( lbl ); @@ -321,7 +311,6 @@ GlossaryDialog::GlossaryDialog( bool folded, QWidget *parent ) connect( d->m_htmlpart->browserExtension(), SIGNAL( openUrlRequestDelayed( const KUrl &, const KParts::URLArgs & ) ), this, SLOT( displayItem( const KUrl &, const KParts::URLArgs & ) ) ); connect( d->m_glosstree, SIGNAL( itemActivated( QTreeWidgetItem * , int ) ), this, SLOT( itemActivated( QTreeWidgetItem * , int ) ) ); - connect( clear, SIGNAL(clicked()), d->m_search, SLOT(clear())); resize( 600, 400 ); }