| 135 | } |
| 136 | |
| 137 | static bool startLauncher() |
| 138 | { |
| 139 | const QString launcherPath = LauncherFinder::findLauncher(LauncherFinder::LauncherUI); |
| 140 | QProcess proc; |
| 141 | proc.setProcessChannelMode(QProcess::ForwardedChannels); |
| 142 | proc.start(launcherPath, QStringList {}); |
| 143 | if (!proc.waitForFinished(-1)) |
| 144 | return false; |
| 145 | return proc.exitCode() == 0; |
| 146 | } |
| 147 | |
| 148 | static QUrl urlFromUserInput(const QString &s) |
| 149 | { |
no test coverage detected