Adapt the stylesheets and the stylesheet generator to the new markerline
[quassel.git] / src / qtui / qtuistyle.cpp
index 396fb9a..2fa8aeb 100644 (file)
@@ -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"