Removed std::cout debug output

This commit is contained in:
Uwe Kindler 2020-01-15 08:34:49 +01:00
parent 29ebc83b35
commit 50c3066eaa

View File

@ -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 :