From 98752013d80670bcac0bf0df4a2bdcf09b0ab2f1 Mon Sep 17 00:00:00 2001 From: RickyRister Date: Sun, 5 Jan 2025 15:36:28 -0800 Subject: [PATCH] fix build failure --- cockatrice/src/settings/shortcut_treeview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockatrice/src/settings/shortcut_treeview.cpp b/cockatrice/src/settings/shortcut_treeview.cpp index dbc174e59..02bc08164 100644 --- a/cockatrice/src/settings/shortcut_treeview.cpp +++ b/cockatrice/src/settings/shortcut_treeview.cpp @@ -150,7 +150,7 @@ void ShortcutTreeView::currentChanged(const QModelIndex ¤t, const QModelIn */ void ShortcutTreeView::updateSearchString(const QString &searchString) { -#if QT_VERSION >= QT_VERSION_CHECK(5, 11, 0) +#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) const auto skipEmptyParts = Qt::SkipEmptyParts; #else const auto skipEmptyParts = QString::SkipEmptyParts;