From 91403317c7fd12f836f99dbd6aff1fbc0f9dc351 Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Mon, 31 Mar 2014 13:31:56 -0400 Subject: [PATCH] Switch to a warning when creating GUI transforms without Globals->useGui --- openbr/plugins/gui.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openbr/plugins/gui.cpp b/openbr/plugins/gui.cpp index 9ccd6d4..ee35340 100644 --- a/openbr/plugins/gui.cpp +++ b/openbr/plugins/gui.cpp @@ -593,7 +593,8 @@ public: void initActual() { if (!Globals->useGui) { - qFatal("GUI transform %s created without enabling GUI support.\nRun \"br -gui ...\" to enable GUI support from the command line, or set\nGlobals->useGui to true.", this->metaObject()->className()); + qWarning("GUI transform %s created without enabling GUI support.\nRun \"br -gui ...\" to enable GUI support from the command line, or set\nGlobals->useGui to true.", this->metaObject()->className()); + return; } if (displayBuffer) -- libgit2 0.21.4