Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Mobile
Commits
bd95cd47
Commit
bd95cd47
authored
May 13, 2022
by
Laurent Montel
Browse files
We depend against qt5.15
parent
5ec496b2
Pipeline
#175559
failed with stage
in 2 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
components/mobileshell/homescreen/applicationlistmodel.cpp
View file @
bd95cd47
...
...
@@ -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
<
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_maxFavoriteCount
=
m_applet
->
applet
()
->
config
().
readEntry
(
"MaxFavoriteCount"
,
MAX_FAVOURITES
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment