Revert "Support for older Qt versions which do not support "setPlaceholderText""

This reverts commit 9784a426f4.

Support for older Qt versions is not desired.
See https://github.com/danmar/cppcheck/pull/31
This commit is contained in:
Frank Zingsheim 2012-12-06 22:21:44 +01:00
parent 4737966caf
commit a24f224a38
1 changed files with 0 additions and 2 deletions

View File

@ -70,9 +70,7 @@ MainWindow::MainWindow() :
// "Filter" toolbar // "Filter" toolbar
mLineEditFilter = new QLineEdit(mUI.mToolBarFilter); mLineEditFilter = new QLineEdit(mUI.mToolBarFilter);
#if (QT_VERSION >= 0x407000) || defined(Q_WS_MAEMO_5)
mLineEditFilter->setPlaceholderText(tr("Quick Filter:")); mLineEditFilter->setPlaceholderText(tr("Quick Filter:"));
#endif
mUI.mToolBarFilter->addWidget(mLineEditFilter); mUI.mToolBarFilter->addWidget(mLineEditFilter);
connect(mLineEditFilter, SIGNAL(textChanged(const QString&)), mFilterTimer, SLOT(start())); connect(mLineEditFilter, SIGNAL(textChanged(const QString&)), mFilterTimer, SLOT(start()));
connect(mLineEditFilter, SIGNAL(returnPressed()), this, SLOT(FilterResults())); connect(mLineEditFilter, SIGNAL(returnPressed()), this, SLOT(FilterResults()));