summaryrefslogtreecommitdiff
path: root/plugingui/filebrowser.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-11-07 10:39:46 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2015-11-07 10:39:46 +0100
commita65ca7af57feaf7a4ea73f7e071a72eb9b3a1e24 (patch)
tree6cf9fa3b8b57513b8eae030bdc6e1a18495d7e75 /plugingui/filebrowser.cc
parent60109b8a737059058d2b0664c7ea88ec501490f7 (diff)
Refactored Painter.
Diffstat (limited to 'plugingui/filebrowser.cc')
-rw-r--r--plugingui/filebrowser.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/filebrowser.cc b/plugingui/filebrowser.cc
index 9635c94..6872a4e 100644
--- a/plugingui/filebrowser.cc
+++ b/plugingui/filebrowser.cc
@@ -131,8 +131,8 @@ void FileBrowser::resize(int w, int h)
void FileBrowser::repaintEvent(RepaintEvent *e)
{
- Painter p(this);
- p.drawImageStretched(0,0, &back, width(), height());
+ Painter p(*this);
+ p.drawImageStretched(0,0, back, width(), height());
}
void FileBrowser::listSelectionChanged()