Fix to SANKORE-626.

Display widget displaying correctly now.
preferencesAboutTextFull
Aleksei Kanash 13 years ago
parent 2a1a6ebf46
commit 831765ccfe
  1. 5
      src/core/UBDisplayManager.cpp

@ -146,6 +146,11 @@ void UBDisplayManager::setDisplayWidget(QWidget* pDisplayWidget)
{ {
if(pDisplayWidget && (pDisplayWidget != mDisplayWidget)) if(pDisplayWidget && (pDisplayWidget != mDisplayWidget))
{ {
if (mDisplayWidget)
{
pDisplayWidget->setGeometry(mDisplayWidget->geometry());
pDisplayWidget->setWindowFlags(mDisplayWidget->windowFlags());
}
mDisplayWidget = pDisplayWidget; mDisplayWidget = pDisplayWidget;
// !!!! 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