diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2022-07-08 13:54:27 -0400 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2022-07-08 13:54:27 -0400 |
| commit | 39f0323a8170b6e62eefc61ffe0fd155419b3c0a (patch) | |
| tree | f45e0721c7678620d7fef27f02afe999cd716d2e | |
| parent | e9a8b042ab04b8b2338070d28be50f5c058efa1e (diff) | |
| parent | 9bed4554eb50aa98af94a799c74d0841dc94ed37 (diff) | |
| download | monzero-gui-39f0323a8170b6e62eefc61ffe0fd155419b3c0a.tar.gz monzero-gui-39f0323a8170b6e62eefc61ffe0fd155419b3c0a.tar.xz monzero-gui-39f0323a8170b6e62eefc61ffe0fd155419b3c0a.zip | |
Merge pull request #3955
9bed455 oshelper: fix openContainingFolder on Linux (selsta)
| -rw-r--r-- | src/main/oshelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/oshelper.cpp b/src/main/oshelper.cpp index 2f8daf7f..c9b1e269 100644 --- a/src/main/oshelper.cpp +++ b/src/main/oshelper.cpp @@ -174,7 +174,7 @@ bool OSHelper::openContainingFolder(const QString &filePath) const } #endif - QUrl url = QUrl::fromLocalFile(canonicalFilePath); + QUrl url = QUrl::fromLocalFile(QFileInfo(filePath).canonicalPath()); if (!url.isValid()) { qWarning() << "Malformed file path" << canonicalFilePath << url.errorString(); |
