┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2026-06-13 14:28:08 +0000
committerMéven Car <[email protected]>2026-06-13 15:00:09 +0000
commitd49b4aa1bc826bc2343f518af6712981228f1c8e (patch)
treecd34bd09be00831ed2669824c91fe85887b075e0 /src/views
parent99c87fe4314d392ae8d3e4cf9c05e3f014322608 (diff)
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.
Diffstat (limited to 'src/views')
-rw-r--r--src/views/dolphinview.cpp2
1 files changed, 0 insertions, 2 deletions
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<KFilePlacesView *>(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);