]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Copy Location: Make sure to export path with native separators
authorMéven Car <meven@kde.org>
Sun, 10 Sep 2023 12:58:36 +0000 (14:58 +0200)
committerMéven Car <meven@kde.org>
Sun, 10 Sep 2023 12:58:36 +0000 (14:58 +0200)
src/views/dolphinview.cpp

index d0db814e4d404dee7bd3e36835e8bc6e8ac02db6..21e23d5acae65b838c86c9c198ece771904dc8c8 100644 (file)
@@ -2283,7 +2283,7 @@ void DolphinView::copyPathToClipboard()
     if (clipboard == nullptr) {
         return;
     }
-    clipboard->setText(path);
+    clipboard->setText(QDir::toNativeSeparators(path));
 }
 
 void DolphinView::slotIncreaseZoom()