mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-19 16:13:55 +02:00
oshelper: fix openContainingFolder on Linux
This commit is contained in:
parent
96cca79b70
commit
9bed4554eb
@ -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 New Issue
Block a user