mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
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:
parent
c12c3c071f
commit
cba1ca8d5b
3 changed files with 1 additions and 14 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue