Remove Qt5 support

This commit is contained in:
WarmUpTill
2025-03-10 19:56:05 +01:00
committed by WarmUpTill
parent 57bcea15f5
commit 808fd84b83
8 changed files with 3 additions and 65 deletions

View File

@@ -889,14 +889,7 @@ void MacroTree::dropEvent(QDropEvent *event)
QModelIndexList indices = selectedIndexes();
DropIndicatorPosition indicator = dropIndicatorPosition();
int row = indexAt(
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
event->position().toPoint()
#else
event->pos()
#endif
)
.row();
int row = indexAt(event->position().toPoint()).row();
bool emptyDrop = row == -1;
if (emptyDrop) {