Merge pull request #144 from PhenomRetroShare/FixVOIP_HeightOfToolBarForWindowsInFullScreen

Fix the height of the ToolBar in VOIP FullScreen for Windows.
This commit is contained in:
defnax 2015-10-12 23:42:56 +02:00
commit e9241933bf

View File

@ -793,7 +793,7 @@ void VOIPChatWidgetHolder::replaceFullscreenWidget()
outputVideoDeviceFS->setGeometry(QRect(QPoint(0,0),fullScreenFrame->geometry().size())); outputVideoDeviceFS->setGeometry(QRect(QPoint(0,0),fullScreenFrame->geometry().size()));
echoVideoDeviceFS->setGeometry(QRect(QPoint(fullScreenFrame->width(), fullScreenFrame->height()) - QPoint(320,240), QSize(320,240))); echoVideoDeviceFS->setGeometry(QRect(QPoint(fullScreenFrame->width(), fullScreenFrame->height()) - QPoint(320,240), QSize(320,240)));
QRect toolBarFSGeo = QRect( (fullScreenFrame->width() - toolBarFS->geometry().width()) / 2 QRect toolBarFSGeo = QRect( (fullScreenFrame->width() - toolBarFS->geometry().width()) / 2
, fullScreenFrame->height() - toolBarFS->geometry().height() , fullScreenFrame->height() - (toolBarFS->geometry().height() * 2)
, toolBarFS->geometry().width(), toolBarFS->geometry().height()); , toolBarFS->geometry().width(), toolBarFS->geometry().height());
toolBarFS->setGeometry(toolBarFSGeo); toolBarFS->setGeometry(toolBarFSGeo);