Skip to content

Commit 2cb520a

Browse files
committed
Use size instead of frameSize
1 parent 6f7e4e0 commit 2cb520a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/mainwindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ void MainWindow::LoadGeometry() {
222222
QScreen *screen = QGuiApplication::screenAt(pos());
223223
if (screen) {
224224
const QRect sr = screen->availableGeometry();
225-
const QRect wr({}, frameSize().boundedTo(sr.size()));
225+
const QRect wr({}, size().boundedTo(sr.size()));
226226
resize(wr.size());
227227
move(sr.center() - wr.center());
228228
}

0 commit comments

Comments
 (0)