projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix compile warnings, remove unneeded exception handlers
[quassel.git]
/
src
/
uisupport
/
uistyle.cpp
diff --git
a/src/uisupport/uistyle.cpp
b/src/uisupport/uistyle.cpp
index
d97302a
..
afa77e6
100644
(file)
--- a/
src/uisupport/uistyle.cpp
+++ b/
src/uisupport/uistyle.cpp
@@
-252,7
+252,7
@@
UiStyle::StyledString UiStyle::styleString(const QString &s_) {
if(s[pos+1] == 'D') code += s[pos+2];
FormatType ftype = formatType(code);
if(ftype == Invalid) {
if(s[pos+1] == 'D') code += s[pos+2];
FormatType ftype = formatType(code);
if(ftype == Invalid) {
- qWarning(
qPrintable(QString("Invalid format code in string: %1").arg(s)
));
+ qWarning(
) << (QString("Invalid format code in string: %1").arg(s
));
continue;
}
curfmt ^= ftype;
continue;
}
curfmt ^= ftype;