projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a84a852
)
common: Don't add quotes to exit exceptions
author
Shane Synan
<digitalcircuit36939@gmail.com>
Sun, 27 Jan 2019 07:46:10 +0000
(
02:46
-0500)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Wed, 13 Feb 2019 19:40:32 +0000
(20:40 +0100)
When logging exit exceptions, wrap the QString in qPrintable(),
removing the extra quotes added by the debug logger.
src/common/main.cpp
patch
|
blob
|
history
diff --git
a/src/common/main.cpp
b/src/common/main.cpp
index
7e235d0
..
0ee13ec
100644
(file)
--- 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()) {
}
catch (ExitException e) {
if (!e.errorString.isEmpty()) {
- qCritical() <<
e.errorString
;
+ qCritical() <<
qPrintable(e.errorString)
;
}
return e.exitCode;
}
}
return e.exitCode;
}