From 1e36d39ce542e12d94b388bea96cfcb76f40af23 Mon Sep 17 00:00:00 2001 From: Shane Synan Date: Sun, 27 Jan 2019 02:42:40 -0500 Subject: [PATCH 1/1] common: Don't add quotes to exit exceptions When logging exit exceptions, wrap the QString in qPrintable(), removing the extra quotes added by the debug logger. --- src/main/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/main.cpp b/src/main/main.cpp index 94a7ebc2..07592936 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -111,7 +111,7 @@ int main(int argc, char** argv) } catch (ExitException e) { if (!e.errorString.isEmpty()) { - qCritical() << e.errorString; + qCritical() << qPrintable(e.errorString); } return e.exitCode; } -- 2.20.1