small move window after fullscreen switch bugfix
This commit is contained in:
@@ -746,11 +746,12 @@ void GameTableStyleReader::setWindowsGeometry(gameTableImpl *gt)
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
gt->actionFullScreen->setDisabled(TRUE);
|
gt->actionFullScreen->setDisabled(TRUE);
|
||||||
if(gt->isFullScreen())
|
if(gt->isFullScreen()) {
|
||||||
gt->showNormal();
|
gt->showNormal();
|
||||||
gt->move(50,50);
|
gt->move(50,50);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
gt->setMinimumSize(MinimumWindowWidth.toInt(), MinimumWindowHeight.toInt());
|
gt->setMinimumSize(MinimumWindowWidth.toInt(), MinimumWindowHeight.toInt());
|
||||||
gt->setMaximumSize(MaximumWindowWidth.toInt(), MaximumWindowHeight.toInt());
|
gt->setMaximumSize(MaximumWindowWidth.toInt(), MaximumWindowHeight.toInt());
|
||||||
@@ -764,11 +765,12 @@ void GameTableStyleReader::setWindowsGeometry(gameTableImpl *gt)
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
gt->actionFullScreen->setDisabled(TRUE);
|
gt->actionFullScreen->setDisabled(TRUE);
|
||||||
if(gt->isFullScreen())
|
if(gt->isFullScreen()) {
|
||||||
gt->showNormal();
|
gt->showNormal();
|
||||||
gt->move(50,50);
|
gt->move(50,50);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user