QssParser: Don't interpret `font: normal` as weight 0
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Thu, 19 Jul 2018 21:00:52 +0000 (23:00 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 24 Jul 2018 21:03:17 +0000 (23:03 +0200)
commit014e8f47c58a316b78cfa8960d0791546b3cd872
treebbcd023a2dd36c429a8d67934fde94b96f43356a
parentc27d5bfbe80bfeb583a25404f4ccee4b70b010e0
QssParser: Don't interpret `font: normal` as weight 0

It fell through to the unchecked int conversion.

Also handle "strikethrough" and don't forget to reset the underline
style.
src/uisupport/qssparser.cpp