Diffstat (limited to 'noncore/multimedia/camera/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/camera/mainwindow.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/multimedia/camera/mainwindow.cpp b/noncore/multimedia/camera/mainwindow.cpp index 2cca9f9..4218232 100644 --- a/noncore/multimedia/camera/mainwindow.cpp +++ b/noncore/multimedia/camera/mainwindow.cpp | |||
@@ -21,4 +21,6 @@ | |||
21 | #include <qlabel.h> | 21 | #include <qlabel.h> |
22 | 22 | ||
23 | #include <qdirectpainter_qws.h> | ||
24 | |||
23 | #include <qpe/resource.h> | 25 | #include <qpe/resource.h> |
24 | #include <opie/ofiledialog.h> | 26 | #include <opie/ofiledialog.h> |
@@ -47,4 +49,8 @@ CameraMainWindow::~CameraMainWindow() | |||
47 | void CameraMainWindow::clickedSnapShot() | 49 | void CameraMainWindow::clickedSnapShot() |
48 | { | 50 | { |
51 | QDirectPainter fb( l ); | ||
52 | ZCameraIO::instance()->snapshot( fb.frameBuffer() ); | ||
53 | |||
54 | /* | ||
49 | QImage i; | 55 | QImage i; |
50 | QPixmap p; | 56 | QPixmap p; |
@@ -54,4 +60,5 @@ void CameraMainWindow::clickedSnapShot() | |||
54 | l->setPixmap( p ); | 60 | l->setPixmap( p ); |
55 | } | 61 | } |
62 | */ | ||
56 | } | 63 | } |
57 | 64 | ||