Fix compiler warning in gb.qt5 about deprecation of QString::null
QString::null is deprecated since Qt 5.9 Use QString() instead for both qt4 and qt5 components as it constructs a null string.
This commit is contained in:
parent
daf012a246
commit
082eb5b733
1 changed files with 3 additions and 3 deletions
|
@ -273,7 +273,7 @@ BEGIN_METHOD(Dialog_OpenFile, GB_BOOLEAN multi)
|
|||
}
|
||||
}
|
||||
|
||||
dialog_title = QString::null;
|
||||
dialog_title = QString();
|
||||
|
||||
END_METHOD
|
||||
|
||||
|
@ -292,7 +292,7 @@ BEGIN_METHOD_VOID(Dialog_SaveFile)
|
|||
GB.ReturnBoolean(false);
|
||||
}
|
||||
|
||||
dialog_title = QString::null;
|
||||
dialog_title = QString();
|
||||
|
||||
END_METHOD
|
||||
|
||||
|
@ -311,7 +311,7 @@ BEGIN_METHOD_VOID(Dialog_SelectDirectory)
|
|||
GB.ReturnBoolean(false);
|
||||
}
|
||||
|
||||
dialog_title = QString::null;
|
||||
dialog_title = QString();
|
||||
|
||||
END_METHOD
|
||||
|
||||
|
|
Loading…
Reference in a new issue