summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2017-09-11 09:41:02 +0300
committerOrgad Shaneh <orgads@gmail.com>2017-09-12 14:52:39 +0000
commit2cc0f27589c44772f8aaf2b4382e8b48666f31bb (patch)
treefa5ec28d23339f4bc7e8f45ec04e2837ab36035b
parent9690337f47db44bdd22fffc47b4e081c3d12be8c (diff)
downloadqt-creator-2cc0f27589c44772f8aaf2b4382e8b48666f31bb.tar.gz
Replace -x with -- for gnome-terminal
-x is deprecated. Change-Id: Ic00b8042caff1620abe3e51f9d3b3198d606f084 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: hjk <hjk@qt.io>
-rw-r--r--src/libs/utils/consoleprocess_unix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/utils/consoleprocess_unix.cpp b/src/libs/utils/consoleprocess_unix.cpp
index 29e3d1845c..223f8ebdab 100644
--- a/src/libs/utils/consoleprocess_unix.cpp
+++ b/src/libs/utils/consoleprocess_unix.cpp
@@ -353,7 +353,7 @@ static const Terminal knownTerminals[] =
{"urxvt", "-e"},
{"xfce4-terminal", "-x"},
{"konsole", "-e"},
- {"gnome-terminal", "-x"}
+ {"gnome-terminal", "--"}
};
QString ConsoleProcess::defaultTerminalEmulator()