summaryrefslogtreecommitdiffstats
path: root/examples/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets')
-rw-r--r--examples/widgets/mainwindows/mainwindow/colorswatch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/mainwindows/mainwindow/colorswatch.cpp b/examples/widgets/mainwindows/mainwindow/colorswatch.cpp
index 77e59d764e..cb568a7a5a 100644
--- a/examples/widgets/mainwindows/mainwindow/colorswatch.cpp
+++ b/examples/widgets/mainwindows/mainwindow/colorswatch.cpp
@@ -680,7 +680,7 @@ void BlueTitleBar::updateMask()
Q_ASSERT(dw);
QRect rect = dw->rect();
- QPixmap bitmap(dw->size());
+ QBitmap bitmap(dw->size());
{
QPainter painter(&bitmap);