Most likely fixed linux segfault

This commit is contained in:
Rasmus Karlsson 2018-04-20 23:54:19 +02:00
parent 3c10c59ce6
commit 98c0b2b0f0

View file

@ -164,7 +164,7 @@ bool BaseWindow::hasCustomWindowFrame()
void BaseWindow::themeRefreshEvent()
{
if (this->enableCustomFrame) {
if (this->hasCustomWindowFrame()) {
QPalette palette;
palette.setColor(QPalette::Background, QColor(0, 0, 0, 0));
palette.setColor(QPalette::Foreground, this->themeManager.window.text);