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
KScreenLocker
Commits
87788be6
Commit
87788be6
authored
Mar 17, 2022
by
Alexander Lohnau
💬
Browse files
Remove uneeded default args for plugin constructors
We never call this constructor manually
parent
31ef0c1a
Pipeline
#157464
passed with stage
in 5 minutes and 51 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
kcm/kcm.h
View file @
87788be6
...
...
@@ -40,7 +40,7 @@ class ScreenLockerKcm : public KQuickAddons::ManagedConfigModule
{
Q_OBJECT
public:
explicit
ScreenLockerKcm
(
QObject
*
parent
=
nullptr
,
const
KPluginMetaData
&
data
=
{}
,
const
QVariantList
&
args
=
QVariantList
()
);
explicit
ScreenLockerKcm
(
QObject
*
parent
,
const
KPluginMetaData
&
data
,
const
QVariantList
&
args
);
Q_PROPERTY
(
KScreenSaverSettings
*
settings
READ
settings
CONSTANT
)
Q_PROPERTY
(
KConfigPropertyMap
*
wallpaperConfiguration
READ
wallpaperConfiguration
NOTIFY
currentWallpaperChanged
)
...
...
kcm/kscreenlockerdata.h
View file @
87788be6
...
...
@@ -31,7 +31,7 @@ class KScreenLockerData : public KCModuleData
Q_OBJECT
public:
explicit
KScreenLockerData
(
QObject
*
parent
=
nullptr
,
const
QVariantList
&
args
=
QVariantList
()
);
explicit
KScreenLockerData
(
QObject
*
parent
,
const
QVariantList
&
args
);
bool
isDefaults
()
const
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