Skip to content
This repository was archived by the owner on Sep 1, 2019. It is now read-only.

Commit 7106638

Browse files
committed
fix issue when launching default terminal on Linux
1 parent 3c9c69a commit 7106638

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/main_window.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,10 +292,14 @@ void MainWindow::rcloneConfig()
292292
"Please set path to terminal executable in $TERMINAL environment variable.", QMessageBox::Ok);
293293
return;
294294
}
295+
p->setArguments(QStringList() << "-e" << GetRclone() << "config" << GetRcloneConf());
296+
}
297+
else
298+
{
299+
p->setArguments(QStringList() << "-e" << (GetRclone() + " config " + GetRcloneConf().join(" ")));
295300
}
296301

297302
p->setProgram(terminal);
298-
p->setArguments(QStringList() << "-e" << (GetRclone() + " config" + GetRcloneConf().join(" ")));
299303
#endif
300304

301305
#if !defined(Q_OS_WIN32) || (QT_VERSION >= QT_VERSION_CHECK(5, 7, 0))

0 commit comments

Comments
 (0)