| 91 | } |
| 92 | |
| 93 | bool openFile(const QString &path) |
| 94 | { |
| 95 | qDebug() << "Opening file" << path; |
| 96 | auto f = [&]() |
| 97 | { |
| 98 | return QDesktopServices::openUrl(QUrl::fromLocalFile(path)); |
| 99 | }; |
| 100 | #if defined(Q_OS_LINUX) |
| 101 | return IndirectOpen(f); |
| 102 | #else |
| 103 | return f(); |
| 104 | #endif |
| 105 | } |
| 106 | |
| 107 | bool openFile(const QString &application, const QString &path, const QString &workingDirectory, qint64 *pid) |
| 108 | { |
no test coverage detected