Element view : fix drag view

This commit is contained in:
joshua
2020-12-17 23:39:35 +01:00
parent 546db38683
commit af3772b95a

View File

@@ -403,7 +403,7 @@ void ElementView::mouseMoveEvent(QMouseEvent* e)
#if TODO_LIST #if TODO_LIST
#pragma message("@TODO remove code for QT 6 or later") #pragma message("@TODO remove code for QT 6 or later")
#endif #endif
if (e->button() == Qt::MiddleButton) if (e->buttons() == Qt::MiddleButton)
#endif #endif
{ {
QScrollBar *h = horizontalScrollBar(); QScrollBar *h = horizontalScrollBar();