summaryrefslogtreecommitdiffstats
path: root/tools/qdbus
diff options
context:
space:
mode:
authorHarald Fernengel <harald.fernengel@nokia.com>2010-03-11 13:52:11 (GMT)
committerHarald Fernengel <harald.fernengel@nokia.com>2010-03-11 13:52:11 (GMT)
commit44206523a280dffb1be40763ce10cc53f1e4eaa9 (patch)
tree7c9fc776296865374166432dcd9fbdca9296e8af /tools/qdbus
parent5fdaf1a39efd5589c710249b90efec215cfb06fb (diff)
downloadQt-44206523a280dffb1be40763ce10cc53f1e4eaa9.zip
Qt-44206523a280dffb1be40763ce10cc53f1e4eaa9.tar.gz
Qt-44206523a280dffb1be40763ce10cc53f1e4eaa9.tar.bz2
Add a placeholder text into the new search lineedit
Diffstat (limited to 'tools/qdbus')
-rw-r--r--tools/qdbus/qdbusviewer/qdbusviewer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/qdbus/qdbusviewer/qdbusviewer.cpp b/tools/qdbus/qdbusviewer/qdbusviewer.cpp
index 9820b87..9878aff 100644
--- a/tools/qdbus/qdbusviewer/qdbusviewer.cpp
+++ b/tools/qdbus/qdbusviewer/qdbusviewer.cpp
@@ -74,6 +74,7 @@ QDBusViewer::QDBusViewer(const QDBusConnection &connection, QWidget *parent) :
servicesFilterModel->setSourceModel(servicesModel);
servicesFilterModel->setFilterCaseSensitivity(Qt::CaseInsensitive);
serviceFilterLine = new QLineEdit(this);
+ serviceFilterLine->setPlaceholderText(tr("Search..."));
servicesView = new QListView(this);
servicesView->setModel(servicesFilterModel);