This addresses a few problems with reaction colors:
- The state-checking conditionals for reaction text, background, and border
were inconsistent, making it difficult to choose colors for each state
(normal, hovered, and self reactions) that worked well in all themes.
- The QPalette::Highlight color was being misused as a text/foreground color.
This color role is intended for background areas. It has little contrast
against the background in themes like KDE Plasma's Breeze High Contrast,
so using it for text and icons makes those things difficult to read.
https://doc.qt.io/qt-5/qpalette.html#ColorRole-enum
- The reaction border was drawn in the same color as normal text, making it
so bright in some dark themes that it distracted from reading nearby text.
FixesNheko-Reborn/nheko#1159
Currently translated at 99.8% (806 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 99.8% (806 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 99.8% (806 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 99.8% (806 of 807 strings)
Co-authored-by: AXD <dexkingcrazy@gmail.com>
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Stanisław Borowy <stabor7@protonmail.com>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 77.6% (627 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 77.6% (627 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 77.3% (624 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 77.3% (624 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 70.0% (565 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 70.0% (565 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 69.8% (564 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 69.8% (564 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 69.6% (562 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 69.6% (562 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 69.5% (561 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 69.5% (561 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 69.2% (559 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 69.2% (559 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 69.0% (557 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 69.0% (557 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 68.7% (555 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 68.7% (555 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 68.2% (551 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 68.2% (551 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 68.0% (549 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 68.0% (549 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 67.6% (546 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 67.6% (546 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 67.5% (545 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 67.5% (545 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 63.8% (515 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 63.8% (515 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 63.6% (514 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 63.6% (514 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 63.3% (511 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 63.3% (511 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 55.0% (444 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 55.0% (444 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 53.5% (432 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 53.4% (431 of 807 strings)
Translated using Weblate (Polish)
Currently translated at 53.4% (431 of 807 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 31.3% (253 of 807 strings)
Translated using Weblate (Russian)
Currently translated at 31.3% (253 of 807 strings)
Translated using Weblate (Russian)
Currently translated at 31.3% (253 of 807 strings)
Co-authored-by: Alexey Murz Korepov <murznn@gmail.com>
Co-authored-by: Artem <ego.cordatus@gmail.com>
Co-authored-by: Herecore <herecore@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/ru/
Translation: Nheko/nheko
Currently translated at 30.6% (247 of 807 strings)
Translated using Weblate (Russian)
Currently translated at 30.6% (247 of 807 strings)
Translated using Weblate (Russian)
Currently translated at 30.6% (247 of 807 strings)
Translated using Weblate (Russian)
Currently translated at 30.6% (247 of 807 strings)
Translated using Weblate (Russian)
Currently translated at 30.6% (247 of 807 strings)
Co-authored-by: Alexander Bantyev <balsoft@balsoft.ru>
Co-authored-by: Herecore <herecore@protonmail.com>
Co-authored-by: Libre Hacker <librehacker@snopyta.org>
Co-authored-by: Mihail Iosilevich <mihail.iosilevitch@yandex.ru>
Co-authored-by: glebasson <glebasson@yandex.ru>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/ru/
Translation: Nheko/nheko
Currently translated at 100.0% (807 of 807 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (807 of 807 strings)
Co-authored-by: Nekogawa Mio <mio@lolic.at>
Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/zh_Hans/
Translation: Nheko/nheko
Currently translated at 100.0% (807 of 807 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (807 of 807 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (807 of 807 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (807 of 807 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (807 of 807 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (807 of 807 strings)
Co-authored-by: Nekogawa Mio <mio@lolic.at>
Co-authored-by: Poesty Li <poesty7450@gmail.com>
Co-authored-by: Reiuji Utsuho <netap495l@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: hulb <hulb@live.cn>
Co-authored-by: ling <xll520yzl@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/zh_Hans/
Translation: Nheko/nheko
Currently translated at 99.8% (806 of 807 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 99.8% (806 of 807 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 99.8% (806 of 807 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 99.8% (806 of 807 strings)
Co-authored-by: Poesty Li <poesty7450@gmail.com>
Co-authored-by: RainSlide <RainSlide@outlook.com>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: hulb <hulb@live.cn>
Co-authored-by: ling <xll520yzl@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/zh_Hans/
Translation: Nheko/nheko
Currently translated at 32.5% (263 of 807 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 32.5% (263 of 807 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 32.5% (263 of 807 strings)
Co-authored-by: Poesty Li <poesty7450@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: hosxy <hosxy@live.com>
Co-authored-by: ling <xll520yzl@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/zh_Hans/
Translation: Nheko/nheko
Currently translated at 22.9% (177 of 772 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 22.9% (177 of 772 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 22.9% (177 of 772 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 22.9% (177 of 772 strings)
Co-authored-by: Nekogawa Mio <mio@lolic.at>
Co-authored-by: Reiuji Utsuho <netap495l@gmail.com>
Co-authored-by: hulb <hulb@live.cn>
Co-authored-by: ling <xll520yzl@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/zh_Hans/
Translation: Nheko/nheko
Currently translated at 13.7% (106 of 772 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 13.7% (106 of 772 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 13.7% (106 of 772 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 13.7% (106 of 772 strings)
Co-authored-by: Nekogawa Mio <mio@lolic.at>
Co-authored-by: Reiuji Utsuho <netap495l@gmail.com>
Co-authored-by: hulb <hulb@live.cn>
Co-authored-by: ling <xll520yzl@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/zh_Hans/
Translation: Nheko/nheko
Currently translated at 100.0% (772 of 772 strings)
Translated using Weblate (Finnish)
Currently translated at 100.0% (772 of 772 strings)
Co-authored-by: Aminda Suomalainen <suomalainen+git@mikaela.info>
Co-authored-by: Lurkki14 <jussi.kuokkanen@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fi/
Translation: Nheko/nheko
Currently translated at 15.9% (112 of 702 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 15.9% (112 of 702 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 15.9% (112 of 702 strings)
Co-authored-by: Nekogawa Mio <mio@lolic.at>
Co-authored-by: Reiuji Utsuho <netap495l@gmail.com>
Co-authored-by: hulb <hulb@live.cn>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/zh_Hans/
Translation: Nheko/nheko
Currently translated at 100.0% (702 of 702 strings)
Translated using Weblate (French)
Currently translated at 100.0% (702 of 702 strings)
Co-authored-by: Eldred HABERT <stuff@eldred.fr>
Co-authored-by: Glandos <bugs-github@antipoul.fr>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fr/
Translation: Nheko/nheko
Add a delay to all destructions and move the call dialog stuff up a
level, so that we don't destroy the component when destroying the parent
dialog.
fixes#984