From d49b4aa1bc826bc2343f518af6712981228f1c8e Mon Sep 17 00:00:00 2001 From: Méven Car Date: Sat, 13 Jun 2026 14:28:08 +0000 Subject: remove version guards below the build minimums KIO_VERSION and KFILEMETADATA_VERSION checks up to 6.23 are always true given the Qt 6.4 / KF 6.23 minimum versions. --- src/views/dolphinview.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/views') diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp index cbeec0910..50c14ff77 100644 --- a/src/views/dolphinview.cpp +++ b/src/views/dolphinview.cpp @@ -1515,13 +1515,11 @@ void DolphinView::slotItemDropEvent(int index, QGraphicsSceneDragDropEvent *even void DolphinView::dropUrls(const QUrl &destUrl, QDropEvent *dropEvent, QWidget *dropWidget) { KIO::DropJobFlags dropjobFlags; -#if KIO_VERSION >= QT_VERSION_CHECK(6, 23, 0) if (qobject_cast(dropEvent->source())) { // this drop comes from Places View so we want to avoid // potentially destructive Move-like plugins actions dropjobFlags |= KIO::DropJobFlag::ExcludePluginsActions; } -#endif KIO::DropJob *job = DragAndDropHelper::dropUrls(destUrl, dropEvent, dropWidget, dropjobFlags); -- cgit v1.3.1