mirror of
https://github.com/FAUSheppy/speech-server-client-qt
synced 2025-12-06 00:41:35 +01:00
fix win explorer call
This commit is contained in:
@@ -194,7 +194,7 @@ void MainWindow::openContainingDir(){
|
|||||||
QProcess::startDetached(mySettings->value(SETTING_LINUX_EXPLORER).toString(), args);
|
QProcess::startDetached(mySettings->value(SETTING_LINUX_EXPLORER).toString(), args);
|
||||||
#endif
|
#endif
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
args << "/select," << QDir::toNativeSeparators(filePath);
|
args << QDir::toNativeSeparators(filePath);
|
||||||
QProcess::startDetached("explorer", args);
|
QProcess::startDetached("explorer", args);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user