mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-17 07:22:01 -08:00
Add clear button to deck editor (#2654)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user