UI: Fix selected app's folder opening.

This commit is contained in:
Nodir Temirkhodjaev 2020-08-17 15:02:12 +03:00
parent 80061baf2b
commit 26e965f5c5

View File

@ -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)