Commit 419861b3 authored by Tristan Matthews's avatar Tristan Matthews Committed by Jean-Baptiste Kempf

qt4: fix build for Qt < 5.3

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent c5664c66
......@@ -340,7 +340,7 @@ void MessagesDialog::MsgCallback( void *self, int type, const vlc_log_t *item,
{
MessagesDialog *dialog = (MessagesDialog *)self;
char *str;
int verbosity = dialog->verbosity;
int verbosity = dialog->verbosity.load();
if( verbosity < 0 || verbosity < (type - VLC_MSG_ERR)
|| unlikely(vasprintf( &str, format, ap ) == -1) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment