From cec1d9ea562e3d52c98f1219db5e186943f2f0d6 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 12 Feb 2017 11:07:22 +0100 Subject: Refactor/introduce widget and windiow redraw/dirty mechanism to eradicate unnecessary rendering passes during event handling. --- plugingui/mainwindow.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'plugingui/mainwindow.cc') 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(); -- cgit v1.2.3