Fix QLabel with no "picture" feature
Change-Id: I97bc58438791402168bcc58326f199b5675e75ff Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>bb10
parent
436aa8a4e4
commit
99258db3b7
|
|
@ -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
|
||||
|
||||
|
||||
/*!
|
||||
|
|
|
|||
Loading…
Reference in New Issue