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:
parent
4737966caf
commit
a24f224a38
|
@ -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()));
|
||||
|
|
Loading…
Reference in New Issue