Make ErrorMsg color distinct from ServerMsg
authorShane Synan <digitalcircuit36939@gmail.com>
Sun, 4 Dec 2016 20:44:48 +0000 (14:44 -0600)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 12 Apr 2017 20:51:18 +0000 (22:51 +0200)
commitcd639835daeee1f61bfe937186bdeed7bf0ae1c9
treeaed43150e20bca2be5709fb327199d35d0770b07
parent831f2b34ad1ffd8e483397d8af4734f35617ca9c
Make ErrorMsg color distinct from ServerMsg

Switch ErrorMsg to a reddish color rather than the golden hues of
ServerMsg, matching the behavior of Quasseldroid.

This helps with discovering if Auto Identify fails now that SASL
authentication errors are reported in the server buffer.  It also
points out any messages Quassel doesn't handle correctly, which might
be unexpected, but should help with discovering them.

No settings migration logic included as custom colors are an
all-or-nothing approach.  Due to 'default.qss' using a system
palette color, there's no easy way to upgrade without changing
existing colors or loading all of Qt's color palettes in startup.
For example, palette(text) is dependent upon the system theme:
ChatLine {
  foreground: palette(text);
}
data/stylesheets/default.qss
src/qtui/settingspages/chatviewcolorsettingspage.ui