mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-27 14:17:45 +00:00
SDK Launcher: Fix launching under Flatpak
This commit is contained in:
parent
f15049d6aa
commit
328bcb5572
1 changed files with 1 additions and 4 deletions
|
@ -66,10 +66,7 @@ MainWindow::MainWindow()
|
|||
|
||||
connect(appList, &QListWidget::itemClicked, [this](QListWidgetItem *item) {
|
||||
if (applications.contains(item->text())) {
|
||||
const QString exec = QStringLiteral("./") + applications[item->text()].second;
|
||||
|
||||
qDebug() << "Launching" << exec;
|
||||
|
||||
const QString exec = applications[item->text()].second;
|
||||
QProcess::startDetached(exec, QStringList());
|
||||
} else if (links.contains(item->text())) {
|
||||
QDesktopServices::openUrl(QUrl::fromUserInput(links[item->text()]));
|
||||
|
|
Loading…
Add table
Reference in a new issue