summaryrefslogtreecommitdiff
path: root/client/mainwindow.cc
diff options
context:
space:
mode:
authordeva <deva>2006-07-04 16:31:08 +0000
committerdeva <deva>2006-07-04 16:31:08 +0000
commit65730f227cd79d84ceed3e0e756ab40f44d7cca3 (patch)
treedd640dac73ca0f43039bdb002357b366243f7407 /client/mainwindow.cc
parent0f07334126048f16cf631e72e8708c2bf3c8a8e6 (diff)
Worked on the snapshot YUV 4:2:2 => RGBA conversion.
It looks better now, but there are still something wrong with the colors!
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);