From 710663876d385b0d263b967495b2a2de07e7eb4a Mon Sep 17 00:00:00 2001 From: Martins Mozeiko Date: Fri, 30 Jun 2017 22:32:13 -0700 Subject: [PATCH] fix issue when launching default terminal on Linux --- src/main_window.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main_window.cpp b/src/main_window.cpp index e95e2fda..04c03845 100644 --- a/src/main_window.cpp +++ b/src/main_window.cpp @@ -292,10 +292,14 @@ void MainWindow::rcloneConfig() "Please set path to terminal executable in $TERMINAL environment variable.", QMessageBox::Ok); return; } + p->setArguments(QStringList() << "-e" << GetRclone() << "config" << GetRcloneConf()); + } + else + { + p->setArguments(QStringList() << "-e" << (GetRclone() + " config " + GetRcloneConf().join(" "))); } p->setProgram(terminal); - p->setArguments(QStringList() << "-e" << (GetRclone() + " config" + GetRcloneConf().join(" "))); #endif #if !defined(Q_OS_WIN32) || (QT_VERSION >= QT_VERSION_CHECK(5, 7, 0))