X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fqtuistyle.cpp;h=c3f405de498ac25705006e221e2cc93ecbbde1ab;hp=f37b85e1728a2d5b8314966003095bbefcf85c5d;hb=d7e94af265bd78598bf52ce5fde6c7a1eba9e149;hpb=8040de61d6bb8a1fa5388827efd6037cb6feed8e diff --git a/src/qtui/qtuistyle.cpp b/src/qtui/qtuistyle.cpp index f37b85e1..c3f405de 100644 --- 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()); - 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()) {