diff options
| author | selsta <selsta@sent.at> | 2022-06-27 00:41:56 +0200 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2022-06-27 00:41:56 +0200 |
| commit | 9bed4554eb50aa98af94a799c74d0841dc94ed37 (patch) | |
| tree | 587e26d4b13aea132f1800a54641cb9a81c7636b /src/main | |
| parent | 96cca79b709dce3887f5dfac42abe111faaae01e (diff) | |
| download | monzero-gui-9bed4554eb50aa98af94a799c74d0841dc94ed37.tar.gz monzero-gui-9bed4554eb50aa98af94a799c74d0841dc94ed37.tar.xz monzero-gui-9bed4554eb50aa98af94a799c74d0841dc94ed37.zip | |
oshelper: fix openContainingFolder on Linux
Diffstat (limited to 'src/main')
| -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(); |
