|
|
@ -115,7 +115,7 @@ void UBDisplayManager::setAsControl(QWidget* pControlWidget ) |
|
|
|
mControlWidget->setGeometry(mDesktop->screenGeometry(mControlScreenIndex)); |
|
|
|
mControlWidget->setGeometry(mDesktop->screenGeometry(mControlScreenIndex)); |
|
|
|
mControlWidget->showFullScreen(); |
|
|
|
mControlWidget->showFullScreen(); |
|
|
|
// !!!! Should be included into Windows after QT recompilation
|
|
|
|
// !!!! Should be included into Windows after QT recompilation
|
|
|
|
#ifndef Q_WS_WIN |
|
|
|
#ifdef Q_WS_MAC |
|
|
|
mControlWidget->setAttribute(Qt::WA_MacNoShadow); |
|
|
|
mControlWidget->setAttribute(Qt::WA_MacNoShadow); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
@ -131,7 +131,7 @@ void UBDisplayManager::setAsDisplay(QWidget* pDisplayWidget) |
|
|
|
mDisplayWidget->setGeometry(mDesktop->screenGeometry(mDisplayScreenIndex)); |
|
|
|
mDisplayWidget->setGeometry(mDesktop->screenGeometry(mDisplayScreenIndex)); |
|
|
|
mDisplayWidget->showFullScreen(); |
|
|
|
mDisplayWidget->showFullScreen(); |
|
|
|
// !!!! Should be included into Windows after QT recompilation
|
|
|
|
// !!!! Should be included into Windows after QT recompilation
|
|
|
|
#ifndef Q_WS_WIN |
|
|
|
#ifdef Q_WS_MAC |
|
|
|
mDisplayWidget->setAttribute(Qt::WA_MacNoShadow); |
|
|
|
mDisplayWidget->setAttribute(Qt::WA_MacNoShadow); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
} |
|
|
|
} |
|
|
|