mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
We depend against qt5.15
This commit is contained in:
parent
5ec496b26e
commit
bd95cd47a4
1 changed files with 0 additions and 4 deletions
|
|
@ -55,12 +55,8 @@ void ApplicationListModel::loadSettings()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
m_favorites = m_applet->applet()->config().readEntry("Favorites", QStringList());
|
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());
|
const auto di = m_applet->applet()->config().readEntry("DesktopItems", QStringList());
|
||||||
m_desktopItems = QSet<QString>(di.begin(), di.end());
|
m_desktopItems = QSet<QString>(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_appOrder = m_applet->applet()->config().readEntry("AppOrder", QStringList());
|
||||||
m_maxFavoriteCount = m_applet->applet()->config().readEntry("MaxFavoriteCount", MAX_FAVOURITES);
|
m_maxFavoriteCount = m_applet->applet()->config().readEntry("MaxFavoriteCount", MAX_FAVOURITES);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue