Commit b3c173e5 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Use QWidget::screen instead of screenAt

Use the simpler function instead of querying the screen via position
parent 88ffda7b
Pipeline #219260 passed with stage
in 1 minute and 17 seconds
......@@ -134,7 +134,7 @@ public:
explicit MinimizePixel(QWidget *parent)
: QWidget(parent) {
setFixedSize(1, 1);
move(QGuiApplication::screenAt(geometry().center())->geometry().width() - 1, 0);
move(screen()->geometry().width() - 1, 0);
}
Q_SIGNALS:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment