summaryrefslogtreecommitdiff
path: root/plugingui/mainwindow.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-02-12 11:07:22 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2017-02-12 11:07:22 +0100
commitcec1d9ea562e3d52c98f1219db5e186943f2f0d6 (patch)
tree3a66ff06ef16cce96e215644032e6c9fac2cbe8a /plugingui/mainwindow.cc
parentdc33f15a6b968139779c2b7d2003d3ef6e7d5748 (diff)
Refactor/introduce widget and windiow redraw/dirty mechanism to eradicate unnecessary rendering passes during event handling.
Diffstat (limited to 'plugingui/mainwindow.cc')
-rw-r--r--plugingui/mainwindow.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugingui/mainwindow.cc b/plugingui/mainwindow.cc
index 3a1727f..3b951f5 100644
--- a/plugingui/mainwindow.cc
+++ b/plugingui/mainwindow.cc
@@ -50,13 +50,9 @@ bool MainWindow::processEvents()
// return running;
// }
+ settings_notifier.evaluate();
eventHandler()->processEvents();
- {
- Painter p(*this);
- settings_notifier.evaluate();
- }
-
if(closing)
{
closeNotifier();