Add DropLocation_Horizontal and DropLocation_Vertical

So we can quickly use a bitwise and to see if an arbitrary
drop location is vertical or horizontal.
This commit is contained in:
Sergio Martins
2022-06-02 16:16:24 +01:00
parent 2c8ceb67ef
commit 3260c65a6c
3 changed files with 9 additions and 1 deletions

View File

@@ -112,6 +112,8 @@ KDDockWidgets::Location DropIndicatorOverlayInterface::multisplitterLocationFor(
return KDDockWidgets::Location_None;
case DropLocation_Inner:
case DropLocation_Outter:
case DropLocation_Horizontal:
case DropLocation_Vertical:
qWarning() << Q_FUNC_INFO << "Unexpected drop location" << dropLoc;
break;
}