Remove todo comments that are no longer relevant.
Task-number: QTBUG-25067 Change-Id: I5d3022a2881a3c6c97429f609fe567bd9970a046 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com> Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
This commit is contained in:
parent
23ad9c3cf2
commit
f13acef7ba
@ -934,8 +934,6 @@ static void sendResizeEvents(QWidget *target)
|
||||
QPixmap QPixmap::grabWidget(QObject *widget, const QRect &rectangle)
|
||||
{
|
||||
QPixmap pixmap;
|
||||
// ### Qt5: should we keep or remove this method?
|
||||
// SC solution would be to install a callback form QtWidgets, but ugly.
|
||||
qWarning("QPixmap::grabWidget is deprecated, use QWidget::grab() instead");
|
||||
if (!widget)
|
||||
return pixmap;
|
||||
|
@ -84,11 +84,11 @@ public:
|
||||
|
||||
operator QVariant() const;
|
||||
|
||||
bool isNull() const; // ### Qt 5: make inline
|
||||
bool isNull() const;
|
||||
int devType() const;
|
||||
|
||||
int width() const; // ### Qt 5: make inline
|
||||
int height() const; // ### Qt 5: make inline
|
||||
int width() const;
|
||||
int height() const;
|
||||
QSize size() const;
|
||||
QRect rect() const;
|
||||
int depth() const;
|
||||
|
Loading…
Reference in New Issue
Block a user