QBitmap: undeprecate the QBitmap(QSize) constructor

There is no reason why the QBitmap(int w,int h) constructor is not
deprecated, and the one taking a QSize is. Since there's no deprecation
marker in the source code, I'm assuming this is just a documentation
issue.

Amends 111115bf8862b7cd1197c2ef8a4b475c882776d4.

Change-Id: I700de1821ab23ce85e793734c7048d1b2031ce9d
Pick-to: 6.9 6.8 6.5
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Giuseppe D'Angelo 2025-01-07 10:21:54 +01:00
parent 31e1a79120
commit 7f7605c22f

View File

@ -86,8 +86,6 @@ QBitmap::QBitmap(int w, int h)
}
/*!
\deprecated [6.0] Use fromPixmap instead.
Constructs a bitmap with the given \a size. The pixels in the
bitmap are uninitialized.