Merge branch '1.3'

This commit is contained in:
Sergio Martins
2021-05-20 18:54:18 +01:00

View File

@@ -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.