diff --git a/src/private/DragController.cpp b/src/private/DragController.cpp index eaa04aaf..665b8367 100644 --- a/src/private/DragController.cpp +++ b/src/private/DragController.cpp @@ -249,7 +249,7 @@ bool StatePreDrag::handleMouseDoubleClick() StateDragging::StateDragging(DragController *parent) : StateBase(parent) { -#if defined(Q_OS_WIN) +#if defined(Q_OS_WIN) && !defined(DOCKS_DEVELOPER_MODE) m_maybeCancelDrag.setInterval(100); QObject::connect(&m_maybeCancelDrag, &QTimer::timeout, this, [this] { // Workaround bug #166 , where Qt doesn't agree with Window's mouse button state.