From bd95cd47a43b1c25a5edb8eedddca2acc723072b Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Fri, 13 May 2022 08:36:53 +0200 Subject: [PATCH] We depend against qt5.15 --- components/mobileshell/homescreen/applicationlistmodel.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/components/mobileshell/homescreen/applicationlistmodel.cpp b/components/mobileshell/homescreen/applicationlistmodel.cpp index 72289802..eedbe677 100644 --- a/components/mobileshell/homescreen/applicationlistmodel.cpp +++ b/components/mobileshell/homescreen/applicationlistmodel.cpp @@ -55,12 +55,8 @@ void ApplicationListModel::loadSettings() return; } m_favorites = m_applet->applet()->config().readEntry("Favorites", QStringList()); -#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)) const auto di = m_applet->applet()->config().readEntry("DesktopItems", QStringList()); m_desktopItems = QSet(di.begin(), di.end()); -#else - m_desktopItems = m_applet->applet()->config().readEntry("DesktopItems", QStringList()).toSet(); -#endif m_appOrder = m_applet->applet()->config().readEntry("AppOrder", QStringList()); m_maxFavoriteCount = m_applet->applet()->config().readEntry("MaxFavoriteCount", MAX_FAVOURITES);