fix build failure

This commit is contained in:
RickyRister 2025-01-05 15:36:28 -08:00
parent 5a950303da
commit 98752013d8

View file

@ -150,7 +150,7 @@ void ShortcutTreeView::currentChanged(const QModelIndex &current, const QModelIn
*/ */
void ShortcutTreeView::updateSearchString(const QString &searchString) 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; const auto skipEmptyParts = Qt::SkipEmptyParts;
#else #else
const auto skipEmptyParts = QString::SkipEmptyParts; const auto skipEmptyParts = QString::SkipEmptyParts;