Commit 48b99150 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix compilation with qt 4.7/4.8

parent 419861b3
......@@ -340,7 +340,11 @@ void MessagesDialog::MsgCallback( void *self, int type, const vlc_log_t *item,
{
MessagesDialog *dialog = (MessagesDialog *)self;
char *str;
#if HAS_QT5
int verbosity = dialog->verbosity.load();
#else
int verbosity = dialog->verbosity;
#endif
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