remove Qt guards (#3328)

* remove version guards

* clangify

* [skip ci] README wording

* add cmake requirement to readme

* remove return

* remove min req from README
This commit is contained in:
tooomm 2018-07-18 02:08:42 +02:00 committed by Zach H
parent c12c3c071f
commit cba1ca8d5b
3 changed files with 1 additions and 14 deletions

View file

@ -345,12 +345,8 @@ void TabDeckEditor::createCentralFrame()
searchEdit = new SearchLineEdit;
searchEdit->setObjectName("searchEdit");
searchEdit->setPlaceholderText(tr("Search by card name"));
#if QT_VERSION >= 0x050200
searchEdit->setClearButtonEnabled(true);
#endif
#if QT_VERSION >= 0x050300
searchEdit->addAction(QPixmap("theme:icons/search"), QLineEdit::LeadingPosition);
#endif
searchEdit->installEventFilter(&searchKeySignals);
setFocusProxy(searchEdit);