mirror of
https://github.com/tnodir/fort
synced 2024-11-15 10:15:07 +00:00
UI: Fix selected app's folder opening.
This commit is contained in:
parent
80061baf2b
commit
26e965f5c5
@ -18,8 +18,7 @@ void OsUtil::openFolder(const QString &filePath)
|
||||
{
|
||||
const QString nativePath = QDir::toNativeSeparators(filePath);
|
||||
|
||||
QProcess::execute(QString("explorer.exe /select,%1")
|
||||
.arg(nativePath));
|
||||
QProcess::execute("explorer.exe", { "/select,", nativePath });
|
||||
}
|
||||
|
||||
bool OsUtil::createGlobalMutex(const char *name)
|
||||
|
Loading…
Reference in New Issue
Block a user