Most likely fixed linux segfault
This commit is contained in:
@@ -164,7 +164,7 @@ bool BaseWindow::hasCustomWindowFrame()
|
|||||||
|
|
||||||
void BaseWindow::themeRefreshEvent()
|
void BaseWindow::themeRefreshEvent()
|
||||||
{
|
{
|
||||||
if (this->enableCustomFrame) {
|
if (this->hasCustomWindowFrame()) {
|
||||||
QPalette palette;
|
QPalette palette;
|
||||||
palette.setColor(QPalette::Background, QColor(0, 0, 0, 0));
|
palette.setColor(QPalette::Background, QColor(0, 0, 0, 0));
|
||||||
palette.setColor(QPalette::Foreground, this->themeManager.window.text);
|
palette.setColor(QPalette::Foreground, this->themeManager.window.text);
|
||||||
|
|||||||
Reference in New Issue
Block a user