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
Plasma
Plasma Desktop
Commits
989df001
Commit
989df001
authored
Apr 25, 2018
by
Kai Uwe Broulik
🍇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Desktop Theme KCM] Show message on successful theme installation
Makes it consistent with the other KCMs
parent
84d17532
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
kcms/desktoptheme/kcm.cpp
kcms/desktoptheme/kcm.cpp
+1
-0
No files found.
kcms/desktoptheme/kcm.cpp
View file @
989df001
...
@@ -153,6 +153,7 @@ void KCMDesktopTheme::installThemeFromFile(const QUrl &file)
...
@@ -153,6 +153,7 @@ void KCMDesktopTheme::installThemeFromFile(const QUrl &file)
this
,
[
this
,
myProcess
](
int
exitCode
,
QProcess
::
ExitStatus
exitStatus
)
{
this
,
[
this
,
myProcess
](
int
exitCode
,
QProcess
::
ExitStatus
exitStatus
)
{
Q_UNUSED
(
exitStatus
);
Q_UNUSED
(
exitStatus
);
if
(
exitCode
==
0
)
{
if
(
exitCode
==
0
)
{
emit
showSuccessMessage
(
i18n
(
"Theme installed successfully."
));
load
();
load
();
}
else
{
}
else
{
Q_EMIT
showErrorMessage
(
i18n
(
"Theme installation failed."
));
Q_EMIT
showErrorMessage
(
i18n
(
"Theme installation failed."
));
...
...
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