OSDN Git Service
(root)
/
kde
/
kde-workspace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7d1b66
)
kdesu: do not assign string for error message, just pass along
author
Ivailo Monev
<xakepa10@gmail.com>
Sat, 11 Jul 2015 11:55:18 +0000
(14:55 +0300)
committer
Ivailo Monev
<xakepa10@gmail.com>
Sat, 11 Jul 2015 11:55:18 +0000
(14:55 +0300)
kdesu/kdesu/kdesu.cpp
patch
|
blob
|
history
diff --git
a/kdesu/kdesu/kdesu.cpp
b/kdesu/kdesu/kdesu.cpp
index
e3fe99c
..
5a4de17
100644
(file)
--- a/
kdesu/kdesu/kdesu.cpp
+++ b/
kdesu/kdesu/kdesu.cpp
@@
-357,8
+357,7
@@
static int startApp()
int needpw = proc.checkNeedPassword();
if (needpw < 0)
{
- QString err = i18n("Su returned with an error.\n");
- KMessageBox::error(0L, err);
+ KMessageBox::error(0L, i18n("Su returned with an error.\n"));
exit(1);
}
if (needpw == 0)