projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78200aa
)
Load default formats correctly in all cases
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Wed, 6 Aug 2008 00:33:02 +0000
(
02:33
+0200)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Wed, 6 Aug 2008 00:33:02 +0000
(
02:33
+0200)
src/uisupport/uistyle.cpp
patch
|
blob
|
history
diff --git
a/src/uisupport/uistyle.cpp
b/src/uisupport/uistyle.cpp
index
b0db2ab
..
72920ba
100644
(file)
--- a/
src/uisupport/uistyle.cpp
+++ b/
src/uisupport/uistyle.cpp
@@
-117,7
+117,7
@@
void UiStyle::setFormat(FormatType ftype, QTextCharFormat fmt, Settings::Mode mo
_customFormats[ftype] = fmt;
s.setCustomFormat(ftype, fmt);
} else {
- _customFormats
[ftype] = QTextFormat().toCharFormat(
);
+ _customFormats
.remove(ftype
);
s.removeCustomFormat(ftype);
}
}