Windows platform plugin: Fix compiler warnings.

Change-Id: Id7111ca74455b93aabb803babff51c4393508dbc
Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com>
This commit is contained in:
Friedemann Kleint 2011-11-02 10:58:06 +01:00 committed by Qt by Nokia
parent f3242864c3
commit 7d560240fa
2 changed files with 2 additions and 3 deletions

View File

@ -161,8 +161,7 @@ struct QWindowsIntegrationPrivate
};
QWindowsIntegrationPrivate::QWindowsIntegrationPrivate()
: m_eventDispatcher(new QWindowsGuiEventDispatcher)
, m_fontDatabase(0)
: m_fontDatabase(0), m_eventDispatcher(new QWindowsGuiEventDispatcher)
{
}

View File

@ -102,7 +102,7 @@ BOOL QT_WIN_CALLBACK monitorEnumCallback(HMONITOR hMonitor, HDC, LPRECT, LPARAM
data.physicalSizeMM = QSizeF(GetDeviceCaps(hdc, HORZSIZE), GetDeviceCaps(hdc, VERTSIZE));
DeleteDC(hdc);
} else {
qWarning("%s: Unable to obtain handle for monitor '%s', defaulting to %d DPI.",
qWarning("%s: Unable to obtain handle for monitor '%s', defaulting to %g DPI.",
__FUNCTION__, qPrintable(QString::fromWCharArray(info.szDevice)),
data.dpi.first);
}