|
|
|
@ -195,6 +195,7 @@ void DockView::setScreenToFollow(QScreen *screen)
|
|
|
|
|
void DockView::reconsiderScreen()
|
|
|
|
|
{
|
|
|
|
|
qDebug() << " Delayer ";
|
|
|
|
|
|
|
|
|
|
foreach (auto scr, qGuiApp->screens()) {
|
|
|
|
|
qDebug() << " D, found screen: " << scr->name();
|
|
|
|
|
}
|
|
|
|
@ -439,6 +440,7 @@ inline void DockView::syncGeometry()
|
|
|
|
|
// setScreen(qGuiApp->primaryScreen());
|
|
|
|
|
//}
|
|
|
|
|
bool found{false};
|
|
|
|
|
|
|
|
|
|
if (this->screen() != m_screenToFollow) {
|
|
|
|
|
qDebug() << "Sync Geometry screens incosistent!!!!";
|
|
|
|
|
/*foreach(auto scr, qGuiApp->screens()){
|
|
|
|
@ -463,6 +465,7 @@ inline void DockView::syncGeometry()
|
|
|
|
|
resizeWindow();
|
|
|
|
|
updatePosition();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// qDebug() << "dock geometry:" << qRectToStr(geometry());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -697,6 +700,7 @@ bool DockView::event(QEvent *e)
|
|
|
|
|
engine()->clearComponentCache();
|
|
|
|
|
engine()->trimComponentCache();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return ContainmentView::event(e);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|