summaryrefslogtreecommitdiff
path: root/client/mainwindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/mainwindow.cc')
-rw-r--r--client/mainwindow.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mainwindow.cc b/client/mainwindow.cc
index 88eae63..79d6b7e 100644
--- a/client/mainwindow.cc
+++ b/client/mainwindow.cc
@@ -192,7 +192,7 @@ void MainWindow::snapshot_clicked()
MIaV::control.shoot();
QImage screenshot(720, 576, QImage::Format_RGB32);
- decoder->snapshot((char*)screenshot.bits());
+ decoder->snapshot(screenshot.bits());
QPixmap *p = new QPixmap();
*p = QPixmap::fromImage(screenshot);