Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KRDC
Commits
b3c173e5
Commit
b3c173e5
authored
Aug 15, 2022
by
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
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
mainwindow.h
View file @
b3c173e5
...
...
@@ -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:
...
...
Nicolas Fella
@nicolasfella
mentioned in commit
fdec6d33
·
Aug 31, 2022
mentioned in commit
fdec6d33
mentioned in commit fdec6d33003230bfca0c08e148f7253709f246cf
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment