mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 13:15:43 +08:00
Added some comment
This commit is contained in:
parent
f554df9e7a
commit
5caa5db273
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user