Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
KDE PIM Add-ons
Commits
5797b63e
Commit
5797b63e
authored
Jan 31, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix load default plugin
parent
c9a51408
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
plugins/messageviewerheaderplugins/defaultgrantleeheaderstyleplugin/defaultgrantleeheaderstyleinterface.cpp
...headerstyleplugin/defaultgrantleeheaderstyleinterface.cpp
+2
-2
No files found.
plugins/messageviewerheaderplugins/defaultgrantleeheaderstyleplugin/defaultgrantleeheaderstyleinterface.cpp
View file @
5797b63e
...
...
@@ -46,10 +46,10 @@ void DefaultGrantleeHeaderStyleInterface::createAction(KActionMenu *menu, QActio
themeName
,
QStringLiteral
(
"kmail_default.desktop"
));
}
mHeaderStylePlugin
->
headerStyle
()
->
setTheme
(
mDefaultTheme
);
KToggleAction
*
act
=
new
KToggleAction
(
mDefaultTheme
.
name
(),
this
);
ac
->
addAction
(
QStringLiteral
(
"default_grantlee_theme"
),
act
);
connect
(
act
,
&
KToggleAction
::
triggered
,
this
,
&
DefaultGrantleeHeaderStyleInterface
::
slot
StyleChanged
);
connect
(
act
,
&
KToggleAction
::
triggered
,
this
,
&
DefaultGrantleeHeaderStyleInterface
::
slot
DefaultGrantleeHeaders
);
mAction
.
append
(
act
);
addActionToMenu
(
menu
,
actionGroup
);
}
...
...
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