From: Shane Synan Date: Sun, 27 Jan 2019 07:42:40 +0000 (-0500) Subject: common: Don't add quotes to exit exceptions X-Git-Tag: test-travis-01~74 X-Git-Url: https://git.quassel-irc.org/?a=commitdiff_plain;h=1e36d39ce542e12d94b388bea96cfcb76f40af23;p=quassel.git 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. --- 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; }