projects
/
dorian
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Clean up book view decorations code.
[dorian]
/
widgets
/
dyalog.cpp
diff --git
a/widgets/dyalog.cpp
b/widgets/dyalog.cpp
index
db75c88
..
2b8fc1b
100644
(file)
--- a/
widgets/dyalog.cpp
+++ b/
widgets/dyalog.cpp
@@
-12,6
+12,8
@@
Dyalog::Dyalog(QWidget *parent, bool showButtons_):
Qt::CustomizeWindowHint | Qt::WindowCloseButtonHint),
showButtons(showButtons_)
{
+ setAttribute(Qt::WA_DeleteOnClose);
+
scroller = new QScrollArea(this);
#if defined(Q_WS_MAEMO_5)