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