From 7c15d7b145802b75b9086fdf18d39d665c8779b2 Mon Sep 17 00:00:00 2001 From: Albert S Date: Sat, 8 May 2021 20:52:32 +0200 Subject: [PATCH] Window: executeConfig: Fix after refactoring for Qt 5.15 Refactoring for 5.15 broke this (d9b0be5063581fa1d3c19dc01632b97638db5e04), so fix it. --- window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/window.cpp b/window.cpp index 899cd0a..568eb69 100644 --- a/window.cpp +++ b/window.cpp @@ -125,7 +125,7 @@ void Window::executeConfig(const EntryConfig &config) QString cmd = settingsProvider->getTerminalCommand(); cmd.replace("%c", config.command); QStringList args = QProcess::splitCommand(cmd); - QProcess::startDetached(cmd, args); + QProcess::startDetached(args[0], args); } else {