Commit c24786dc authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Don't use things that can change from one version to another one of Qt.

parent b83845d9
......@@ -73,8 +73,7 @@ OpenDialog::OpenDialog( QWidget *parent, intf_thread_t *_p_intf, bool modal,
ui.slaveBrowseButton->hide();
/* Buttons Creation */
QSizePolicy buttonSizePolicy( static_cast<QSizePolicy::Policy>(7),
static_cast<QSizePolicy::Policy>(1) );
QSizePolicy buttonSizePolicy( QSizePolicy::Expanding, QSizePolicy::GrowFlag );
buttonSizePolicy.setHorizontalStretch(0);
buttonSizePolicy.setVerticalStretch(0);
......
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