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
c9a51408
Commit
c9a51408
authored
Jan 31, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix load theme
parent
271f2312
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
plugins/messageviewerheaderplugins/defaultgrantleeheaderstyleplugin/defaultgrantleeheaderstyleinterface.cpp
...headerstyleplugin/defaultgrantleeheaderstyleinterface.cpp
+1
-2
No files found.
plugins/messageviewerheaderplugins/defaultgrantleeheaderstyleplugin/defaultgrantleeheaderstyleinterface.cpp
View file @
c9a51408
...
...
@@ -42,8 +42,7 @@ void DefaultGrantleeHeaderStyleInterface::createAction(KActionMenu *menu, QActio
const
QStringList
defaultThemePath
=
QStandardPaths
::
locateAll
(
QStandardPaths
::
GenericDataLocation
,
QStringLiteral
(
"messageviewer/defaultthemes/"
),
QStandardPaths
::
LocateDirectory
);
if
(
!
defaultThemePath
.
isEmpty
())
{
const
QString
themeName
=
DefaultGrantleeHeaderStylePluginSettings
::
self
()
->
themeName
();
qDebug
()
<<
" themeName"
<<
themeName
<<
"defaultThemePath.at(0)"
<<
defaultThemePath
.
at
(
0
);
mDefaultTheme
=
GrantleeTheme
::
ThemeManager
::
loadTheme
(
defaultThemePath
.
at
(
0
),
mDefaultTheme
=
GrantleeTheme
::
ThemeManager
::
loadTheme
(
defaultThemePath
.
at
(
0
)
+
QLatin1Char
(
'/'
)
+
themeName
,
themeName
,
QStringLiteral
(
"kmail_default.desktop"
));
}
...
...
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