From afb03725ad8fcf6eb1db305bdc89391a573f5968 Mon Sep 17 00:00:00 2001 From: Gabriele Date: Sun, 19 Oct 2014 16:01:43 +0200 Subject: [PATCH] Add placeholder text to the input to filter the torrent list Users can mistakenly think the input box is to search for torrents and not to filter the torrent list. A placeholder text will make things clear. --- src/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index bb70b9f7c..3b013c85e 100755 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -184,6 +184,7 @@ MainWindow::MainWindow(QWidget *parent, const QStringList& torrentCmdLine) : QMa // Name filter search_filter = new LineEdit(); searchFilterAct = toolBar->insertWidget(actionLock_qBittorrent, search_filter); + search_filter->setPlaceholderText(tr("Filter torrent list...")); search_filter->setFixedWidth(200); QWidget *spacer = new QWidget(this); spacer->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);