font awesome: update palette from stylesheet

This commit is contained in:
Skarn
2020-10-29 19:04:19 +03:00
parent 9789842452
commit 000a11b1a7
2 changed files with 2 additions and 1 deletions

View File

@@ -34,7 +34,7 @@ namespace noggit
{
QWidget* temp_btn = new QWidget();
temp_btn->ensurePolished();
painter->setPen (temp_btn->palette().color(QPalette::WindowText));
delete temp_btn;

View File

@@ -35,6 +35,7 @@ namespace noggit
{
QWidget* temp_btn = new QWidget();
temp_btn->ensurePolished();
painter->setPen(temp_btn->palette().color(QPalette::WindowText));
delete temp_btn;