diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-03-13 21:03:14 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-03-13 21:03:14 +0100 |
commit | 37471a3486a566159bcf0c7ebd68f9064287d0fa (patch) | |
tree | 42cc7114a13ff564575bbdd5f9c920f190f079b4 /plugingui/window.cc | |
parent | b59d65d3c5606b33727cc445555704bb0e203b55 (diff) |
Use new painter clear function.
Diffstat (limited to 'plugingui/window.cc')
-rw-r--r-- | plugingui/window.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugingui/window.cc b/plugingui/window.cc index 1795d62..9e06502 100644 --- a/plugingui/window.cc +++ b/plugingui/window.cc @@ -82,6 +82,9 @@ void GUI::Window::setCaption(std::string caption) void GUI::Window::repaintEvent(GUI::RepaintEvent *e) { Painter p(this); + + p.clear(); + p.drawImage(0, 0, (struct __img__*)&img_back); } |