From ae00e90a3f05cfd30ac7308ec9708d3387d2b463 Mon Sep 17 00:00:00 2001 From: Scott Klum Date: Tue, 17 Nov 2020 13:02:59 -0700 Subject: [PATCH] Hide failure to open console warnings unless Globals->verbose --- openbr/plugins/io/read.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbr/plugins/io/read.cpp b/openbr/plugins/io/read.cpp index fdca0af..4706f6d 100644 --- a/openbr/plugins/io/read.cpp +++ b/openbr/plugins/io/read.cpp @@ -68,7 +68,7 @@ private: } } } - if (dst.file.fte) + if (dst.file.fte && Globals->verbose) qWarning("Error opening %s", qPrintable(src.file.flat())); } }; -- libgit2 0.21.4