Skip to content

Commit

Permalink
DesktopHelper: Compile out process-spawning on WASM too
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Mar 4, 2024
1 parent 91286b8 commit 72e91b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/desktophelper.cpp
Expand Up @@ -90,8 +90,8 @@ bool selectInXfce(const QString& path) {
#endif

void selectViaCommand(const QString& path) {
#ifdef Q_OS_IOS
qWarning() << "Starting process (" << path << ") is not supported on iOS!";
#if defined(Q_OS_IOS) || defined(Q_OS_WASM)
qWarning() << "Starting process (" << path << ") is not supported on iOS or the web!";
#else
QStringList arguments = sSelectInFileBrowserCommand.split(" ");
// No escaping required because QProcess bypasses the shell
Expand Down

0 comments on commit 72e91b7

Please sign in to comment.