Skip to content


Fix constant background CPU usage
Browse files Browse the repository at this point in the history
(cherry picked from commit 59583e9)
  • Loading branch information
nyalldawson authored and jef-n committed Sep 17, 2016
1 parent 546ae28 commit f9219b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gui/qgsfilterlineedit.cpp
Expand Up @@ -46,11 +46,13 @@ QgsFilterLineEdit::QgsFilterLineEdit( QWidget* parent, const QString& nullValue

void QgsFilterLineEdit::setShowClearButton( bool visible )
bool changed = mClearButtonVisible != visible;
mClearButtonVisible = visible;
if ( !visible )
mClearHover = false;

if ( changed )

void QgsFilterLineEdit::mousePressEvent( QMouseEvent* e )
Expand Down

1 comment on commit f9219b3

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jef-n!

Please sign in to comment.