From 534f170271bf6e3749a1c10ca6518eb7746e71f0 Mon Sep 17 00:00:00 2001 From: Shane Synan Date: Sun, 27 Jan 2019 02:46:10 -0500 Subject: [PATCH] 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/common/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/main.cpp b/src/common/main.cpp index 7e235d09..0ee13ecd 100644 --- a/src/common/main.cpp +++ b/src/common/main.cpp @@ -254,7 +254,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