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 Add-ons
Commits
4fa0636d
Commit
4fa0636d
authored
Mar 11, 2022
by
Alexander Lohnau
💬
Browse files
applets/comic: Port applet away from deprecated constructor
parent
9a1489bb
Pipeline
#155330
passed with stage
in 1 minute and 41 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
applets/comic/comic.cpp
View file @
4fa0636d
...
...
@@ -40,8 +40,8 @@ Q_GLOBAL_STATIC(ComicUpdater, globalComicUpdater)
const
int
ComicApplet
::
CACHE_LIMIT
=
20
;
ComicApplet
::
ComicApplet
(
QObject
*
parent
,
const
QVariantList
&
args
)
:
Plasma
::
Applet
(
parent
,
args
)
ComicApplet
::
ComicApplet
(
QObject
*
parent
,
const
KPluginMetaData
&
data
,
const
QVariantList
&
args
)
:
Plasma
::
Applet
(
parent
,
data
,
args
)
,
mProxy
(
nullptr
)
,
mActiveComicModel
(
new
ActiveComicModel
(
parent
))
,
mDifferentComic
(
true
)
...
...
applets/comic/comic.h
View file @
4fa0636d
...
...
@@ -52,7 +52,7 @@ class ComicApplet : public Plasma::Applet, public Plasma::DataEngineConsumer
Q_PROPERTY
(
int
maxComicLimit
READ
maxComicLimit
WRITE
setMaxComicLimit
NOTIFY
maxComicLimitChanged
)
public:
ComicApplet
(
QObject
*
parent
,
const
QVariantList
&
args
);
ComicApplet
(
QObject
*
parent
,
const
KPluginMetaData
&
data
,
const
QVariantList
&
args
);
~
ComicApplet
()
override
;
void
init
()
override
;
...
...
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