vlc | branch: master | Alexandre Janniaux <[email protected]> | 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 <[email protected]>

> 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 */

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to