Added Config::startDragDistance()

Allows the user to change the drag threshold without having
to inherit from Platform
This commit is contained in:
Sergio Martins
2022-07-07 11:05:16 +01:00
parent 4e99b44823
commit cd41697ee6
8 changed files with 58 additions and 7 deletions

View File

@@ -162,7 +162,7 @@ QSize Platform_qtwidgets::screenSizeFor(View *view) const
return {};
}
int Platform_qtwidgets::startDragDistance() const
int Platform_qtwidgets::startDragDistance_impl() const
{
return QApplication::startDragDistance();
}