X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fqtuistyle.cpp;h=2fa8aeba2a0e8acfe5959740d000b156486ce217;hp=2e505a69d437659973d7527054601e7194f467c0;hb=56288a13972bf8466b57c9d5d1ec382fc7e287cc;hpb=40d9d7cf8df839fa51033ccbc7f8d075ad276949 diff --git a/src/qtui/qtuistyle.cpp b/src/qtui/qtuistyle.cpp index 2e505a69..2fa8aeba 100644 --- a/src/qtui/qtuistyle.cpp +++ b/src/qtui/qtuistyle.cpp @@ -59,7 +59,8 @@ void QtUiStyle::generateSettingsQss() const { if(s.value("UseChatViewColors").toBool()) { out << "\n// Custom ChatView Colors\n" - << "Palette { marker-line: " << color("MarkerLine", s) << "; }\n" + // markerline is special in that it always used to use a gradient, so we keep this behavior even with the new implementation + << "Palette { marker-line: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 " << color("MarkerLine", s) << ", stop: 0.1 transparent); }\n" << "ChatView { background: " << color("ChatViewBackground", s) << "; }\n\n" << "ChatLine[label=\"highlight\"] {\n" << " foreground: " << color("Highlight",s) << ";\n" @@ -81,6 +82,9 @@ void QtUiStyle::generateSettingsQss() const { << msgTypeQss("info", "ServerMsg", s) << msgTypeQss("error", "ErrorMsg", s) << msgTypeQss("daychange", "ServerMsg", s) + << msgTypeQss("topic", "CommandMsg", s) + << msgTypeQss("netsplit-join", "CommandMsg", s) + << msgTypeQss("netsplit-quit", "CommandMsg", s) << "\n"; }