summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/qwizard_win.cpp
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-07-15 12:02:43 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-07-15 12:08:32 (GMT)
commita6782030bc6077b3b1ffe380dfd303cfb7662795 (patch)
treef2fcb24dc0d9df08babe7f87e5ba2a335a0f4b2e /src/gui/dialogs/qwizard_win.cpp
parent271358459d605e909f4ec093b971a420ff730e8f (diff)
downloadQt-a6782030bc6077b3b1ffe380dfd303cfb7662795.zip
Qt-a6782030bc6077b3b1ffe380dfd303cfb7662795.tar.gz
Qt-a6782030bc6077b3b1ffe380dfd303cfb7662795.tar.bz2
Fix warnings for mingw
did a small refactor and used QStyleHelper::uniqueName in plastique and windows styles
Diffstat (limited to 'src/gui/dialogs/qwizard_win.cpp')
-rw-r--r--src/gui/dialogs/qwizard_win.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/dialogs/qwizard_win.cpp b/src/gui/dialogs/qwizard_win.cpp
index 840149b..1def47f 100644
--- a/src/gui/dialogs/qwizard_win.cpp
+++ b/src/gui/dialogs/qwizard_win.cpp
@@ -616,7 +616,7 @@ bool QVistaHelper::drawTitleText(QPainter *painter, const QString &text, const Q
// Set up a memory DC and bitmap that we'll draw into
HDC dcMem;
HBITMAP bmp;
- BITMAPINFO dib = {0};
+ BITMAPINFO dib = {{0}};
dcMem = CreateCompatibleDC(hdc);
dib.bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
@@ -662,7 +662,7 @@ bool QVistaHelper::drawBlackRect(const QRect &rect, HDC hdc)
// Set up a memory DC and bitmap that we'll draw into
HDC dcMem;
HBITMAP bmp;
- BITMAPINFO dib = {0};
+ BITMAPINFO dib = {{0}};
dcMem = CreateCompatibleDC(hdc);
dib.bmiHeader.biSize = sizeof(BITMAPINFOHEADER);