Change-Id: I0c9e6adc54ccce34e0f81af048f2a51a4ac051b4
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
#define CHILDID_SELF 0
#define WM_GETOBJECT 0x003D
-#ifndef SIID_SHIELD // Shell structures for icons.
+#ifndef SHGFI_ADDOVERLAYS // Shell structures for icons.
typedef struct _SHSTOCKICONINFO
{
DWORD cbSize;
T operator * () const
{
- return reinterpret_cast<T>(this);
+ return T(qintptr(this));
}
void operator delete (void *) {}
#ifdef Q_OS_WINCE
m_previouslyHidden(false),
#endif
- m_iconBig(0),
- m_iconSmall(0)
+ m_iconSmall(0),
+ m_iconBig(0)
{
if (aWindow->surfaceType() == QWindow::OpenGLSurface)
setFlag(OpenGLSurface);