Commit 2551b932 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: compile extensions on Qt4.4

parent 1cdeaa80
......@@ -175,8 +175,13 @@ ExtensionDialog::ExtensionDialog( intf_thread_t *_p_intf,
assert( p_dialog );
msg_Dbg( p_intf, "Creating a new dialog: '%s'", p_dialog->psz_title );
#if HAS_QT45
this->setWindowFlags( Qt::WindowMinMaxButtonsHint
| Qt::WindowCloseButtonHint );
#else
this->setWindowFlags( Qt::WindowMinMaxButtonsHint
#endif
this->setWindowTitle( qfu( p_dialog->psz_title ) );
layout = new QGridLayout( this );
......
......@@ -42,6 +42,8 @@
# error Please update Qt version to 4.5.1. 4.5.0 is too buggy
#endif
#define HAS_QT45 ( QT_VERSION >= 0x040500 )
enum {
QT_NORMAL_MODE = 0,
QT_ALWAYS_VIDEO_MODE,
......
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