mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-22 02:34:36 +00:00
Merge pull request #3955
9bed455
oshelper: fix openContainingFolder on Linux (selsta)
This commit is contained in:
commit
39f0323a81
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ bool OSHelper::openContainingFolder(const QString &filePath) const
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
QUrl url = QUrl::fromLocalFile(canonicalFilePath);
|
QUrl url = QUrl::fromLocalFile(QFileInfo(filePath).canonicalPath());
|
||||||
if (!url.isValid())
|
if (!url.isValid())
|
||||||
{
|
{
|
||||||
qWarning() << "Malformed file path" << canonicalFilePath << url.errorString();
|
qWarning() << "Malformed file path" << canonicalFilePath << url.errorString();
|
||||||
|
|
Loading…
Reference in a new issue