mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-24 23:31:32 +08:00
Removed std::cout debug output
This commit is contained in:
parent
29ebc83b35
commit
50c3066eaa
@ -525,16 +525,11 @@ bool CDockWidget::event(QEvent *e)
|
||||
switch (e->type())
|
||||
{
|
||||
case QEvent::Hide:
|
||||
std::cout << this->objectName().toStdString() << " visible: " << isVisible()
|
||||
<< " hidden: " << isHidden() << " visibleTo: " << isVisibleTo(d->DockManager) << std::endl;
|
||||
emit visibilityChanged(false);
|
||||
break;
|
||||
|
||||
case QEvent::Show:
|
||||
{
|
||||
QPoint parentTopLeft(0, 0);
|
||||
emit visibilityChanged(geometry().right() >= parentTopLeft.x() && geometry().bottom() >= parentTopLeft.y());
|
||||
}
|
||||
emit visibilityChanged(geometry().right() >= 0 && geometry().bottom() >= 0);
|
||||
break;
|
||||
|
||||
case QEvent::WindowTitleChange :
|
||||
|
Loading…
Reference in New Issue
Block a user