projects
/
harmattan
/
cameraplus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8ed08b
)
Don't paint system background
author
Mohammed Sameer
<msameer@foolab.org>
Mon, 11 Feb 2013 23:18:04 +0000
(
01:18
+0200)
committer
Mohammed Sameer
<msameer@foolab.org>
Mon, 11 Feb 2013 23:18:04 +0000
(
01:18
+0200)
src/main.cpp
patch
|
blob
|
history
diff --git
a/src/main.cpp
b/src/main.cpp
index
178c116
..
3e33b8c
100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-79,9
+79,11
@@
Q_DECL_EXPORT int main(int argc, char *argv[]) {
initQuill();
QDeclarativeView view;
+ view.setAttribute(Qt::WA_NoSystemBackground);
view.setViewport(new QGLWidget);
view.setResizeMode(QDeclarativeView::SizeRootObjectToView);
view.setViewportUpdateMode(QGraphicsView::FullViewportUpdate);
+ view.viewport()->setAttribute(Qt::WA_NoSystemBackground);
qmlRegisterType<Settings>("CameraPlus", 1, 0, "Settings");
qmlRegisterType<FileNaming>("CameraPlus", 1, 0, "FileNaming");