From e68641bbe0346236300ae22234d1e1874d38f2ad Mon Sep 17 00:00:00 2001 From: Alexandru Fikl Date: Sat, 27 Apr 2024 20:22:06 +0200 Subject: [PATCH] porting: from deprecated QPalette::Background --- app/logtextedit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/logtextedit.cpp b/app/logtextedit.cpp index c1ab3e5..277a509 100644 --- a/app/logtextedit.cpp +++ b/app/logtextedit.cpp @@ -64,7 +64,7 @@ void LogTextEdit::setLogPalette(bool runFailed) moveCursor(QTextCursor::End); if (runFailed) { QPalette failedPalette(QApplication::palette()); - failedPalette.setColor(QPalette::Background, QColor(255, 102, 102)); + failedPalette.setColor(QPalette::Window, QColor(255, 102, 102)); setAutoFillBackground(true); setPalette(failedPalette); } else