aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2022-10-07 21:22:28 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2022-10-07 21:22:28 -0400
commitaa21eacf0660184fa5401df7c93a320c4c285b57 (patch)
treead53273bd80b4bd0f46bead3ea841c13f5c0f166
parentee9f55a97c91afef993a26a96d7fa7a18ac97ac7 (diff)
downloaddeduper-aa21eacf0660184fa5401df7c93a320c4c285b57.tar.xz
Correctly (?) remove logic that doesn't belong on windows.
-rw-r--r--qdeduper/utilities.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qdeduper/utilities.cpp b/qdeduper/utilities.cpp
index 02c4899..aef471d 100644
--- a/qdeduper/utilities.cpp
+++ b/qdeduper/utilities.cpp
@@ -59,9 +59,9 @@ void open_containing_folder(const fs::path &path)
if (resp.type() != QDBusMessage::MessageType::ErrorMessage)
return;
#endif
-#endif
auto par = (path / "../").lexically_normal();
QDesktopServices::openUrl(QUrl::fromLocalFile(fspath_to_qstring(par)));
+#endif
}
};