projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make custom ChatView font disableable
[quassel.git]
/
src
/
qtui
/
qtuistyle.cpp
diff --git
a/src/qtui/qtuistyle.cpp
b/src/qtui/qtuistyle.cpp
index
f37b85e
..
c3f405d
100644
(file)
--- a/
src/qtui/qtuistyle.cpp
+++ b/
src/qtui/qtuistyle.cpp
@@
-59,8
+59,9
@@
void QtUiStyle::generateSettingsQss() const {
desc += "normal ";
desc += QString("%1pt \"%2\"").arg(font.pointSize()).arg(font.family());
desc += "normal ";
desc += QString("%1pt \"%2\"").arg(font.pointSize()).arg(font.family());
- out << "// ChatView Font\n\n"
- << "ChatLine { " << desc << "; }\n\n";
+ if(fs.value("UseCustomChatViewFont").toBool())
+ out << "// ChatView Font\n\n"
+ << "ChatLine { " << desc << "; }\n\n";
QtUiStyleSettings s("Colors");
if(s.value("UseChatViewColors").toBool()) {
QtUiStyleSettings s("Colors");
if(s.value("UseChatViewColors").toBool()) {