From 5caa5db2730c840ffadeb0e7f616e0170c8effb3 Mon Sep 17 00:00:00 2001 From: Uwe Kindler Date: Tue, 15 Nov 2022 09:50:39 +0100 Subject: [PATCH] Added some comment --- src/AutoHideDockContainer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/AutoHideDockContainer.cpp b/src/AutoHideDockContainer.cpp index 8376891..637d545 100644 --- a/src/AutoHideDockContainer.cpp +++ b/src/AutoHideDockContainer.cpp @@ -471,6 +471,8 @@ void CAutoHideDockContainer::setSize(int Size) //============================================================================ 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 (!d->ResizeHandle->isResizing())