diff options
author | Harald Fernengel <harald.fernengel@nokia.com> | 2010-03-11 13:52:11 (GMT) |
---|---|---|
committer | Harald Fernengel <harald.fernengel@nokia.com> | 2010-03-11 13:52:11 (GMT) |
commit | 44206523a280dffb1be40763ce10cc53f1e4eaa9 (patch) | |
tree | 7c9fc776296865374166432dcd9fbdca9296e8af /tools | |
parent | 5fdaf1a39efd5589c710249b90efec215cfb06fb (diff) | |
download | Qt-44206523a280dffb1be40763ce10cc53f1e4eaa9.zip Qt-44206523a280dffb1be40763ce10cc53f1e4eaa9.tar.gz Qt-44206523a280dffb1be40763ce10cc53f1e4eaa9.tar.bz2 |
Add a placeholder text into the new search lineedit
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qdbus/qdbusviewer/qdbusviewer.cpp | 1 |
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); |