From a24f224a38afedf0d1221f6525b8d2b1a8a52b4c Mon Sep 17 00:00:00 2001 From: Frank Zingsheim Date: Thu, 6 Dec 2012 22:21:44 +0100 Subject: [PATCH] Revert "Support for older Qt versions which do not support "setPlaceholderText"" This reverts commit 9784a426f4931f4ffeb7c320920a2c4cb47e6e8b. Support for older Qt versions is not desired. See https://github.com/danmar/cppcheck/pull/31 --- gui/mainwindow.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 1cc98e64d..e1dd82ada 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -70,9 +70,7 @@ MainWindow::MainWindow() : // "Filter" toolbar mLineEditFilter = new QLineEdit(mUI.mToolBarFilter); -#if (QT_VERSION >= 0x407000) || defined(Q_WS_MAEMO_5) mLineEditFilter->setPlaceholderText(tr("Quick Filter:")); -#endif mUI.mToolBarFilter->addWidget(mLineEditFilter); connect(mLineEditFilter, SIGNAL(textChanged(const QString&)), mFilterTimer, SLOT(start())); connect(mLineEditFilter, SIGNAL(returnPressed()), this, SLOT(FilterResults()));