Qt::WFlags is obsolete in Qt5. Replace it with Qt::WindowFlags.

This change is Qt4/Qt5 neutral.
This commit is contained in:
Mateusz Skowroński
2015-12-15 07:01:09 +01:00
committed by wmayer
parent cd2db00f22
commit 3b463f2138
93 changed files with 111 additions and 111 deletions

View File

@@ -446,7 +446,7 @@ void AccelLineEdit::keyPressEvent ( QKeyEvent * e)
* The dialog will by default be modeless, unless you set 'modal' to
* TRUE to construct a modal dialog.
*/
CheckListDialog::CheckListDialog( QWidget* parent, Qt::WFlags fl )
CheckListDialog::CheckListDialog( QWidget* parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
{
ui.setupUi(this);
@@ -709,7 +709,7 @@ void ColorButton::onRejected()
// ------------------------------------------------------------------------------
UrlLabel::UrlLabel(QWidget * parent, Qt::WFlags f)
UrlLabel::UrlLabel(QWidget * parent, Qt::WindowFlags f)
: QLabel(parent, f)
{
_url = QString::fromLatin1("http://localhost");