Skip to content

Commit 5caa5db

Browse files
Added some comment
1 parent f554df9 commit 5caa5db

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/AutoHideDockContainer.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,8 @@ void CAutoHideDockContainer::setSize(int Size)
471471
//============================================================================
472472
bool CAutoHideDockContainer::eventFilter(QObject* watched, QEvent* event)
473473
{
474+
// A switch case statement would be nicer here, but we cannot use
475+
// internal::FloatingWidgetDragStartEvent in a switch case
474476
if (event->type() == QEvent::Resize)
475477
{
476478
if (!d->ResizeHandle->isResizing())

0 commit comments

Comments
 (0)