mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Allow Fullscreen Startup
.. thanks to Claus Assman for pointing this out.
This commit is contained in:
@@ -191,7 +191,7 @@ MainWindow::MainWindow(const QDir &home)
|
||||
// just check the geometry is ok, otherwise just make
|
||||
// it slightly smaller than the screensize
|
||||
if (geometry().x() < 0 || geometry().y() < 0 ||
|
||||
(geometry().y()+geometry().height()) >= screenSize.height() || (geometry().x()+geometry().width()) >= screenSize.width()) {
|
||||
(geometry().y()+geometry().height()) > screenSize.height() || (geometry().x()+geometry().width()) > screenSize.width()) {
|
||||
setGeometry(screenSize.x()+50,screenSize.y()+50,screenSize.width()-150,screenSize.height()-150);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user