From 97f9163bf603b7f7d73c6307b9fdc2fb1a919c53 Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Fri, 5 Apr 2013 13:38:28 -0400 Subject: [PATCH] Don't add the same GUIProxy twice as an event filter --- openbr/plugins/gui.cpp | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/openbr/plugins/gui.cpp b/openbr/plugins/gui.cpp index 9d97429..2d22e82 100644 --- a/openbr/plugins/gui.cpp +++ b/openbr/plugins/gui.cpp @@ -94,6 +94,8 @@ public slots: void createWindow() { delete window; + QApplication::instance()->removeEventFilter(this); + window = new QLabel(); window->setVisible(true); -- libgit2 0.21.4