Commit e246a14e authored by Jan's avatar Jan

Fixed typo

parent cd79dd8f
......@@ -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_));
}
......
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