Skip to content
Permalink
Browse files

Put search icon on left of QgsFilterLineEdit

  • Loading branch information
nyalldawson authored and 3nids committed Feb 5, 2018
1 parent 124e268 commit 8e9bb6d2f94c7d8ebafc8d2229757b3cc5fad646
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsfilterlineedit.cpp
@@ -43,7 +43,7 @@ QgsFilterLineEdit::QgsFilterLineEdit( QWidget *parent, const QString &nullValue
QIcon searchIcon = QgsApplication::getThemeIcon( "/search.svg" );
mSearchAction = new QAction( searchIcon, QString(), this );
mSearchAction->setCheckable( false );
addAction( mSearchAction, QLineEdit::TrailingPosition );
addAction( mSearchAction, QLineEdit::LeadingPosition );
mSearchAction->setVisible( false );

connect( this, &QLineEdit::textChanged, this,

0 comments on commit 8e9bb6d

Please sign in to comment.
You can’t perform that action at this time.