aboutsummaryrefslogtreecommitdiff
path: root/qdeduper
diff options
context:
space:
mode:
Diffstat (limited to 'qdeduper')
-rw-r--r--qdeduper/utilities.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qdeduper/utilities.cpp b/qdeduper/utilities.cpp
index a2af953..f85e21e 100644
--- a/qdeduper/utilities.cpp
+++ b/qdeduper/utilities.cpp
@@ -38,7 +38,7 @@ fs::path qstring_to_path(const QString &s)
void open_containing_folder(const fs::path &path)
{
#ifdef _WIN32
- QProcess::startDetached("explorer", QStringList() << "/select," << QDir::toNativeSeparators(fileInfo.absoluteFilePath()));
+ QProcess::startDetached("explorer", QStringList() << "/select," << fspath_to_qstring(path));
#else
#ifdef HAS_QTDBUS
auto conn = QDBusConnection::sessionBus();