projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Trigger paste protection if pasting more than 3 lines, rather than 4.
[quassel.git]
/
src
/
uisupport
/
uistyle.cpp
diff --git
a/src/uisupport/uistyle.cpp
b/src/uisupport/uistyle.cpp
index
dbefa52
..
f6ce8a6
100644
(file)
--- a/
src/uisupport/uistyle.cpp
+++ b/
src/uisupport/uistyle.cpp
@@
-49,7
+49,7
@@
UiStyle::UiStyle(const QString &settingsKey) : _settingsKey(settingsKey) {
}
// Check for the sender auto coloring option
}
// Check for the sender auto coloring option
- _senderAutoColor = s.value("
Flags/senderAutoColor", QVariant(true)
).toBool();
+ _senderAutoColor = s.value("
Colors/SenderAutoColor", false
).toBool();
// Now initialize the mapping between FormatCodes and FormatTypes...
_formatCodes["%O"] = None;
// Now initialize the mapping between FormatCodes and FormatTypes...
_formatCodes["%O"] = None;
@@
-133,7
+133,7
@@
void UiStyle::setFormat(FormatType ftype, QTextCharFormat fmt, Settings::Mode mo
void UiStyle::setSenderAutoColor( bool state ) {
_senderAutoColor = state;
UiStyleSettings s(_settingsKey);
void UiStyle::setSenderAutoColor( bool state ) {
_senderAutoColor = state;
UiStyleSettings s(_settingsKey);
- s.setValue("
Flags/s
enderAutoColor", QVariant(state));
+ s.setValue("
Colors/S
enderAutoColor", QVariant(state));
}
QTextCharFormat UiStyle::format(FormatType ftype, Settings::Mode mode) const {
}
QTextCharFormat UiStyle::format(FormatType ftype, Settings::Mode mode) const {