summaryrefslogtreecommitdiffstats
path: root/src/b2qt-flashing-wizard/elevator.cpp
diff options
context:
space:
mode:
authorRainer Keller <rainer.keller@theqtcompany.com>2014-11-24 10:10:41 +0100
committerRainer Keller <rainer.keller@theqtcompany.com>2014-11-25 09:33:23 +0200
commit74f87c03bbde4ba032fc6571fbcaf4613a8b3030 (patch)
tree6c2eeff5ae9cde27ffc8a9f14a5cd26e7d35d37b /src/b2qt-flashing-wizard/elevator.cpp
parent433cb41f8661403f2aadd1b156829c820ad1e773 (diff)
b2qt-flashing-wizard: Show default message in gksu
and sudo sudo backend Change-Id: I717ae79c4c3c763bf02bb5a269313d96dcd30e45 Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
Diffstat (limited to 'src/b2qt-flashing-wizard/elevator.cpp')
-rw-r--r--src/b2qt-flashing-wizard/elevator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/b2qt-flashing-wizard/elevator.cpp b/src/b2qt-flashing-wizard/elevator.cpp
index f4e087a..4c47693 100644
--- a/src/b2qt-flashing-wizard/elevator.cpp
+++ b/src/b2qt-flashing-wizard/elevator.cpp
@@ -37,7 +37,7 @@ QStringList elevate()
if (QFile::exists("/usr/bin/kdesu")) {
rc << "/usr/bin/kdesu" << "-u" << "root" << "-t" << "--noignorebutton" << "--"; // @ARGS
} else if (QFile::exists("/usr/bin/gksu")) {
- rc << "/usr/bin/gksu" << "-m" << "message" << "-u" << "root" << "--"; // @ARGS
+ rc << "/usr/bin/gksu" << "--sudo-mode" << "-u" << "root" << "--"; // @ARGS
// } else if (!QFile::exists("/usr/lib/ssh/x11-ssh-askpass")) {
// // SUDO_ASKPASS = @askpass-tool;
// qDebug() << "askpass";