From 24d0d6d9761e0cf3b882bc0ab609eab1466bb22c Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Tue, 7 Jan 2025 10:21:54 +0100 Subject: [PATCH] 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 (cherry picked from commit 7f7605c22f0e1847612e9e283eead75a1ace409e) Reviewed-by: Qt Cherry-pick Bot (cherry picked from commit 1426bd170bc9c02412159f6c19fd2e7783b59b49) --- src/gui/image/qbitmap.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gui/image/qbitmap.cpp b/src/gui/image/qbitmap.cpp index c9310bef666..2e76928ed6d 100644 --- a/src/gui/image/qbitmap.cpp +++ b/src/gui/image/qbitmap.cpp @@ -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.