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.5 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 7f7605c22f0e1847612e9e283eead75a1ace409e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 1426bd170bc9c02412159f6c19fd2e7783b59b49)
This commit is contained in:
parent
660ab4439c
commit
24d0d6d976
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user