Fix QLabel with no "picture" feature

Change-Id: I97bc58438791402168bcc58326f199b5675e75ff
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
bb10
Nodir Temirkhodjaev 2020-04-19 12:36:01 +03:00
parent 436aa8a4e4
commit 99258db3b7
1 changed files with 2 additions and 0 deletions

View File

@ -186,6 +186,7 @@ QLabelPrivate::~QLabelPrivate()
{fowler}{GUI Design Handbook: Label}
*/
#ifndef QT_NO_PICTURE
/*!
\fn QPicture QLabel::picture(Qt::ReturnByValueConstant) const
\obsolete Use the overload without argument instead.
@ -210,6 +211,7 @@ QPicture QLabel::picture() const
return *(d->picture);
return QPicture();
}
#endif // QT_NO_PICTURE
/*!