aboutsummaryrefslogtreecommitdiff
path: root/qdeduper
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2022-10-02 10:30:59 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2022-10-02 10:30:59 -0400
commitfc7f2c61537677c99f76ad301add108d9e0e96c3 (patch)
tree3e0d924051c8245ba19371c17f51eb02e44653c5 /qdeduper
parent64a4fc1fb07863f35289b2dc050d30ecc96aaac6 (diff)
downloaddeduper-fc7f2c61537677c99f76ad301add108d9e0e96c3.tar.xz
I forgor :skull:
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();