mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-22 02:34:36 +00:00
oshelper: fix openContainingFolder on Linux
This commit is contained in:
parent
96cca79b70
commit
9bed4554eb
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue