Commit 8b91c368 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add placeholder here

parent 56fdd25c
......@@ -31,4 +31,5 @@ void EmoticonTextEditSelectorTest::shouldHaveDefaultValues()
QVERIFY(mSearchUnicodeLineEdit);
QVERIFY(mSearchUnicodeLineEdit->isClearButtonEnabled());
QVERIFY(mSearchUnicodeLineEdit->text().isEmpty());
QVERIFY(!mSearchUnicodeLineEdit->placeholderText().isEmpty());
}
......@@ -9,6 +9,8 @@
#include "emoticonunicodetab.h"
#include "textutils.h"
#include <KLocalizedString>
#include <QLineEdit>
#include <QVBoxLayout>
......@@ -26,6 +28,7 @@ EmoticonTextEditSelector::EmoticonTextEditSelector(QWidget *parent)
mUnicodeTab->setObjectName(QStringLiteral("mUnicodeTab"));
mSearchUnicodeLineEdit->setObjectName(QStringLiteral("mSearchUnicodeLineEdit"));
mSearchUnicodeLineEdit->setClearButtonEnabled(true);
mSearchUnicodeLineEdit->setPlaceholderText(i18n("Search Emoticon..."));
mainLayout->addWidget(mSearchUnicodeLineEdit);
mainLayout->addWidget(mUnicodeTab);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment