Commit e246a14e authored by Jan's avatar Jan
Browse files

Fixed typo

parent cd79dd8f
...@@ -543,11 +543,11 @@ void CoreWidget::applicationSnapshot() { ...@@ -543,11 +543,11 @@ void CoreWidget::applicationSnapshot() {
QScreen* screen = window()->screen(); QScreen* screen = window()->screen();
QPixmap pix = screen->grabWindow( winId() ); QPixmap pix = screen->grabWindow( winId() );
#else #else
QPixmap pix = QPixmap::grabWindow( winId() ). QPixmap pix = QPixmap::grabWindow( winId() );
#endif #endif
// Write image asynchronously // Write image asynchronously
QImage* pic = new QImage(pix.toImage()); QImage* pic = new QImage( pix.toImage() );
writeImageAsynchronously(pic, suggestSnapshotFilename(snapshotName_)); writeImageAsynchronously(pic, suggestSnapshotFilename(snapshotName_));
} }
......
Markdown is supported
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