mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 03:30:20 +00:00
activate by default the clear button on every document search lineedit
svn path=/trunk/KDE/kdegraphics/okular/; revision=712501
This commit is contained in:
parent
bb59c02642
commit
a0b2ad4a4c
|
@ -24,6 +24,7 @@ SearchLineEdit::SearchLineEdit( QWidget * parent, Okular::Document * document )
|
||||||
m_moveViewport( false ), m_changed( false )
|
m_moveViewport( false ), m_changed( false )
|
||||||
{
|
{
|
||||||
setObjectName( "SearchLineEdit" );
|
setObjectName( "SearchLineEdit" );
|
||||||
|
setClearButtonShown( true );
|
||||||
|
|
||||||
// a timer to ensure that we don't flood the document with requests to search
|
// a timer to ensure that we don't flood the document with requests to search
|
||||||
m_inputDelayTimer = new QTimer(this);
|
m_inputDelayTimer = new QTimer(this);
|
||||||
|
|
Loading…
Reference in a new issue