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
b62405f4
Commit
b62405f4
authored
Apr 04, 2021
by
Laurent Montel
😁
Browse files
Fix duplicate actions
Fix regression in port to KPluginLoader (cherry picked from commit
bd9ef325
)
parent
a42b7214
Pipeline
#57355
skipped
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/mainwindow.cpp
View file @
b62405f4
...
...
@@ -328,13 +328,12 @@ KontactInterface::Plugin *MainWindow::pluginFromName(const QString &identifier)
void
MainWindow
::
loadPlugins
()
{
QList
<
KontactInterface
::
Plugin
*>
plugins
;
for
(
const
KPluginInfo
&
pluginInfo
:
qAsConst
(
mPluginInfos
))
{
if
(
!
pluginInfo
.
isPluginEnabled
())
{
continue
;
}
const
QString
pluginPath
=
pluginInfo
.
libraryPath
();
const
QString
pluginPath
=
pluginInfo
.
pluginName
();
KontactInterface
::
Plugin
*
plugin
=
pluginFromName
(
pluginPath
);
if
(
plugin
)
{
// already loaded
plugin
->
configUpdated
();
...
...
Write
Preview
Supports
Markdown
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