Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Kontact
Commits
5f0b5850
Commit
5f0b5850
authored
Apr 04, 2021
by
Laurent Montel
😁
Browse files
const'ify pointer
parent
e49e4610
Pipeline
#56458
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/mainwindow.cpp
View file @
5f0b5850
...
...
@@ -359,10 +359,10 @@ void MainWindow::loadPlugins()
plugin
->
setTitle
(
pluginInfo
.
name
());
plugin
->
setIcon
(
pluginInfo
.
icon
());
QVariant
libNameProp
=
pluginInfo
.
property
(
QStringLiteral
(
"X-KDE-KontactPartLibraryName"
));
QVariant
exeNameProp
=
pluginInfo
.
property
(
QStringLiteral
(
"X-KDE-KontactPartExecutableName"
));
QVariant
loadOnStart
=
pluginInfo
.
property
(
QStringLiteral
(
"X-KDE-KontactPartLoadOnStart"
));
QVariant
hasPartProp
=
pluginInfo
.
property
(
QStringLiteral
(
"X-KDE-KontactPluginHasPart"
));
const
QVariant
libNameProp
=
pluginInfo
.
property
(
QStringLiteral
(
"X-KDE-KontactPartLibraryName"
));
const
QVariant
exeNameProp
=
pluginInfo
.
property
(
QStringLiteral
(
"X-KDE-KontactPartExecutableName"
));
const
QVariant
loadOnStart
=
pluginInfo
.
property
(
QStringLiteral
(
"X-KDE-KontactPartLoadOnStart"
));
const
QVariant
hasPartProp
=
pluginInfo
.
property
(
QStringLiteral
(
"X-KDE-KontactPluginHasPart"
));
if
(
!
loadOnStart
.
isNull
()
&&
loadOnStart
.
toBool
())
{
mDelayedPreload
.
append
(
plugin
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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