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
322e2361
Commit
322e2361
authored
May 13, 2022
by
Laurent Montel
Browse files
Fix compile against qt5
parent
06363095
Changes
1
Hide whitespace changes
Inline
Side-by-side
components/mobileshell/homescreen/applicationlistmodel.cpp
View file @
322e2361
...
...
@@ -37,8 +37,11 @@ constexpr int MAX_FAVOURITES = 5;
ApplicationListModel
::
ApplicationListModel
(
QObject
*
parent
)
:
QAbstractListModel
(
parent
)
{
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
connect
(
KSycoca
::
self
(),
qOverload
<
const
QStringList
&>
(
&
KSycoca
::
databaseChanged
),
this
,
&
ApplicationListModel
::
sycocaDbChanged
);
#else
connect
(
KSycoca
::
self
(),
&
KSycoca
::
databaseChanged
,
this
,
&
ApplicationListModel
::
sycocaDbChanged
);
#endif
connect
(
WindowUtil
::
instance
(),
&
WindowUtil
::
windowCreated
,
this
,
&
ApplicationListModel
::
windowCreated
);
loadSettings
();
...
...
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