author | leseb <leseb> | 2002-04-10 09:09:18 (UTC) |
---|---|---|
committer | leseb <leseb> | 2002-04-10 09:09:18 (UTC) |
commit | ef60c3e367a4ce89367ad6f5c035134bef6602a6 (patch) (unidiff) | |
tree | fe9560f1b3a8c1035808e5010ec6c157bda929c5 | |
parent | 4eb2a1b8698fdcca7a2c74a3fe9a88a297607754 (diff) | |
download | opie-ef60c3e367a4ce89367ad6f5c035134bef6602a6.zip opie-ef60c3e367a4ce89367ad6f5c035134bef6602a6.tar.gz opie-ef60c3e367a4ce89367ad6f5c035134bef6602a6.tar.bz2 |
Fix flickering when using tools
-rw-r--r-- | noncore/graphics/drawpad/drawpadcanvas.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/graphics/drawpad/drawpadcanvas.cpp b/noncore/graphics/drawpad/drawpadcanvas.cpp index 3ddd7b7..58192d3 100644 --- a/noncore/graphics/drawpad/drawpadcanvas.cpp +++ b/noncore/graphics/drawpad/drawpadcanvas.cpp | |||
@@ -161,6 +161,8 @@ DrawPadCanvas::DrawPadCanvas(DrawPad* drawPad, QWidget* parent, const char* name | |||
161 | m_pDrawPad = drawPad; | 161 | m_pDrawPad = drawPad; |
162 | m_pages.setAutoDelete(true); | 162 | m_pages.setAutoDelete(true); |
163 | m_pageBackups.setAutoDelete(true); | 163 | m_pageBackups.setAutoDelete(true); |
164 | |||
165 | viewport()->setBackgroundMode(QWidget::NoBackground); | ||
164 | } | 166 | } |
165 | 167 | ||
166 | DrawPadCanvas::~DrawPadCanvas() | 168 | DrawPadCanvas::~DrawPadCanvas() |