Skip to content

Commit

Permalink
Merge pull request #12916 from fwcd/desktop-helper-wasm
Browse files Browse the repository at this point in the history
DesktopHelper: Compile out process-spawning on WASM too
  • Loading branch information
daschuer committed Mar 4, 2024
2 parents 52c8c0e + 72e91b7 commit e7b9d4f
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 e7b9d4f

Please sign in to comment.