Qt5: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations]

This commit is contained in:
wmayer
2020-06-08 12:24:55 +02:00
committed by wwmayer
parent ac7da8b39f
commit 7b72dcb062
20 changed files with 40 additions and 40 deletions

View File

@@ -134,12 +134,12 @@ int DlgSettingsImageImp::imageHeight() const
/**
* Returns the comment of the picture. If for the currently selected image format no comments are supported
* QString::null is returned.
* QString() is returned.
*/
QString DlgSettingsImageImp::comment() const
{
if ( !ui->textEditComment->isEnabled() )
return QString::null;
return QString();
else
return ui->textEditComment->toPlainText();
}