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
OpenFlipper-Free
OpenFlipper
Commits
e246a14e
Commit
e246a14e
authored
May 11, 2020
by
Jan
Browse files
Fixed typo
parent
cd79dd8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
widgets/coreWidget/viewerControl.cc
View file @
e246a14e
...
...
@@ -543,11 +543,11 @@ void CoreWidget::applicationSnapshot() {
QScreen
*
screen
=
window
()
->
screen
();
QPixmap
pix
=
screen
->
grabWindow
(
winId
()
);
#else
QPixmap
pix
=
QPixmap
::
grabWindow
(
winId
()
)
.
QPixmap
pix
=
QPixmap
::
grabWindow
(
winId
()
)
;
#endif
// Write image asynchronously
QImage
*
pic
=
new
QImage
(
pix
.
toImage
());
QImage
*
pic
=
new
QImage
(
pix
.
toImage
()
);
writeImageAsynchronously
(
pic
,
suggestSnapshotFilename
(
snapshotName_
));
}
...
...
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