mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
plasma: show the clear button of the line editor in launcher applet
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
a58820267b
commit
4b78d14096
1 changed files with 2 additions and 1 deletions
|
@ -939,10 +939,11 @@ LauncherAppletWidget::LauncherAppletWidget(LauncherApplet* auncherapplet)
|
|||
m_label->setWordWrap(false);
|
||||
m_label->setText(usertext);
|
||||
m_toplayout->addItem(m_label);
|
||||
m_toplayout->setAlignment(m_lineedit, Qt::AlignCenter);
|
||||
m_toplayout->setAlignment(m_label, Qt::AlignCenter);
|
||||
|
||||
m_lineedit = new Plasma::LineEdit(this);
|
||||
m_lineedit->setClickMessage(i18n("Search"));
|
||||
m_lineedit->setClearButtonShown(true);
|
||||
m_toplayout->addItem(m_lineedit);
|
||||
m_toplayout->setAlignment(m_lineedit, Qt::AlignCenter);
|
||||
setFocusProxy(m_lineedit);
|
||||
|
|
Loading…
Add table
Reference in a new issue