mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Add clear button to deck editor (#2654)
This commit is contained in:
parent
ce77d51a8f
commit
df211748ca
1 changed files with 3 additions and 0 deletions
|
|
@ -306,6 +306,9 @@ void TabDeckEditor::createCentralFrame()
|
|||
{
|
||||
searchEdit = new SearchLineEdit;
|
||||
searchEdit->setObjectName("searchEdit");
|
||||
#if QT_VERSION >= 0x050200
|
||||
searchEdit->setClearButtonEnabled(true);
|
||||
#endif
|
||||
#if QT_VERSION >= 0x050300
|
||||
searchEdit->addAction(QPixmap("theme:icons/search"), QLineEdit::LeadingPosition);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue