X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fqtuistyle.cpp;h=2fa8aeba2a0e8acfe5959740d000b156486ce217;hp=26c904821e8b1fcb2f47bfe06175748a889ddc32;hb=e3ed29ad5b799fa1425c137d2296f48ce5995a5b;hpb=7f8c674b003c9f48c1c11cd7dee257a807f99d7c diff --git a/src/qtui/qtuistyle.cpp b/src/qtui/qtuistyle.cpp index 26c90482..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" @@ -82,6 +83,8 @@ void QtUiStyle::generateSettingsQss() const { << msgTypeQss("error", "ErrorMsg", s) << msgTypeQss("daychange", "ServerMsg", s) << msgTypeQss("topic", "CommandMsg", s) + << msgTypeQss("netsplit-join", "CommandMsg", s) + << msgTypeQss("netsplit-quit", "CommandMsg", s) << "\n"; }