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. 4
      src/core/UBDisplayManager.cpp

@ -148,12 +148,14 @@ 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));
mDisplayWidget->showFullScreen(); if (UBSettings::settings()->appUseMultiscreen->get().toBool())
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
// mDisplayWidget->setAttribute(Qt::WA_MacNoShadow); // mDisplayWidget->setAttribute(Qt::WA_MacNoShadow);

Loading…
Cancel
Save