summaryrefslogtreecommitdiff
path: root/client/mainwindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/mainwindow.cc')
-rw-r--r--client/mainwindow.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/client/mainwindow.cc b/client/mainwindow.cc
index dd05b69..fa73a9e 100644
--- a/client/mainwindow.cc
+++ b/client/mainwindow.cc
@@ -152,11 +152,7 @@ void MainWindow::snapshot_clicked()
{
MIaV::control.shoot();
- char rgb[720 * 576 * 4];
-
- // QImage screenshot((uchar*)rgb, 720, 576, QImage::Format_RGB32);
QImage screenshot((uchar*)rgb, 720, 576, QImage::Format_RGB32);
- // decoder->snapshot(rgb);
decoder->snapshot((char*)screenshot.bits());
QPixmap *p = new QPixmap();