projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4baddc0
)
common: Don't add quotes to exit exceptions
author
Shane Synan
<digitalcircuit36939@gmail.com>
Sun, 27 Jan 2019 07:42:40 +0000
(
02:42
-0500)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Wed, 13 Feb 2019 19:40:24 +0000
(20:40 +0100)
When logging exit exceptions, wrap the QString in qPrintable(),
removing the extra quotes added by the debug logger.
src/main/main.cpp
patch
|
blob
|
history
diff --git
a/src/main/main.cpp
b/src/main/main.cpp
index
94a7ebc
..
0759293
100644
(file)
--- 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;
}