[vlc-commits] qt: messages: replace deprecated QPalette::foreground
Alexandre Janniaux
git at videolan.org
Sun Jul 28 08:35:56 CEST 2019
vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Thu Jul 25 01:14:49 2019 +0200| [3b69d08fe8f1f57d42d30b51688615086571a012] | committer: Jean-Baptiste Kempf
qt: messages: replace deprecated QPalette::foreground
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3b69d08fe8f1f57d42d30b51688615086571a012
---
modules/gui/qt/dialogs/messages.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt/dialogs/messages.cpp b/modules/gui/qt/dialogs/messages.cpp
index a09178d12e..8d31eaac3e 100644
--- a/modules/gui/qt/dialogs/messages.cpp
+++ b/modules/gui/qt/dialogs/messages.cpp
@@ -247,7 +247,7 @@ void MessagesDialog::sinkMessage( const MsgEvent *msg )
/* Insert the message */
format.setProperty( QTextFormat::FontItalic, false );
- format.setForeground( messages->palette().foreground() );
+ format.setForeground( messages->palette().windowText() );
messages->textCursor().insertText( msg->text, format );
/* Pass the new message thru the filter */
More information about the vlc-commits
mailing list