projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change Hilight config dialog layout a bit
[quassel.git]
/
src
/
qtui
/
qtuistyle.cpp
diff --git
a/src/qtui/qtuistyle.cpp
b/src/qtui/qtuistyle.cpp
index
2e505a6
..
cc5fa26
100644
(file)
--- 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"
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"
<< "ChatView { background: " << color("ChatViewBackground", s) << "; }\n\n"
<< "ChatLine[label=\"highlight\"] {\n"
<< " foreground: " << color("Highlight",s) << ";\n"
@@
-81,6
+82,10
@@
void QtUiStyle::generateSettingsQss() const {
<< msgTypeQss("info", "ServerMsg", s)
<< msgTypeQss("error", "ErrorMsg", s)
<< msgTypeQss("daychange", "ServerMsg", s)
<< 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)
+ << msgTypeQss("invite", "CommandMsg", s)
<< "\n";
}
<< "\n";
}