fix win explorer call

This commit is contained in:
Yannik Schmidt
2020-09-17 20:17:21 +02:00
parent 360e8a03d3
commit 76b077a661

View File

@@ -194,7 +194,7 @@ void MainWindow::openContainingDir(){
QProcess::startDetached(mySettings->value(SETTING_LINUX_EXPLORER).toString(), args);
#endif
#ifdef Q_OS_WIN
args << "/select," << QDir::toNativeSeparators(filePath);
args << QDir::toNativeSeparators(filePath);
QProcess::startDetached("explorer", args);
#endif
}