Fixed appearing of display view upper control view at mode changing from web to board.

preferencesAboutTextFull
Aleksei Kanash 12 years ago
parent c55f57477b
commit 70b0ea9459
  1. 2
      src/core/UBDisplayManager.cpp

@ -148,11 +148,13 @@ void UBDisplayManager::setDisplayWidget(QWidget* pDisplayWidget)
{ {
if (mDisplayWidget) if (mDisplayWidget)
{ {
mDisplayWidget->hide();
pDisplayWidget->setGeometry(mDisplayWidget->geometry()); pDisplayWidget->setGeometry(mDisplayWidget->geometry());
pDisplayWidget->setWindowFlags(mDisplayWidget->windowFlags()); pDisplayWidget->setWindowFlags(mDisplayWidget->windowFlags());
} }
mDisplayWidget = pDisplayWidget; mDisplayWidget = pDisplayWidget;
mDisplayWidget->setGeometry(mDesktop->screenGeometry(mDisplayScreenIndex)); mDisplayWidget->setGeometry(mDesktop->screenGeometry(mDisplayScreenIndex));
if (UBSettings::settings()->appUseMultiscreen->get().toBool())
mDisplayWidget->showFullScreen(); mDisplayWidget->showFullScreen();
// !!!! Should be included into Windows after QT recompilation // !!!! Should be included into Windows after QT recompilation
#ifdef Q_WS_MAC #ifdef Q_WS_MAC

Loading…
Cancel
Save