Added some comment

This commit is contained in:
Uwe Kindler 2022-11-15 09:50:39 +01:00
parent f554df9e7a
commit 5caa5db273

View File

@ -471,6 +471,8 @@ void CAutoHideDockContainer::setSize(int Size)
//============================================================================ //============================================================================
bool CAutoHideDockContainer::eventFilter(QObject* watched, QEvent* event) bool CAutoHideDockContainer::eventFilter(QObject* watched, QEvent* event)
{ {
// A switch case statement would be nicer here, but we cannot use
// internal::FloatingWidgetDragStartEvent in a switch case
if (event->type() == QEvent::Resize) if (event->type() == QEvent::Resize)
{ {
if (!d->ResizeHandle->isResizing()) if (!d->ResizeHandle->isResizing())