mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
parent
d7b6af9a5b
commit
8ba8ce91f3
|
@ -196,6 +196,7 @@ void Style::repolish(QWidget* w)
|
|||
|
||||
void Style::setThemeColor(int color)
|
||||
{
|
||||
stylesheetsCache.clear(); // clear stylesheet cache which includes color info
|
||||
if (color < 0 || color >= themeColorColors.size())
|
||||
setThemeColor(QColor());
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user