summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qwindowsstyle.cpp
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2009-09-22 11:50:08 +0200
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2009-09-22 11:51:32 +0200
commit717f6ee081fdfcb7d028e3e26d252f9537878899 (patch)
tree92a831b521ec27e276c7999a5364c32786067f43 /src/gui/styles/qwindowsstyle.cpp
parent755eedd9d241910112b202bc22b4b807a18ba1fb (diff)
Compile on all non-windows platforms
Function is only used from within Q_OS_WIN or Q_WS_WIN-blocks.
Diffstat (limited to 'src/gui/styles/qwindowsstyle.cpp')
-rw-r--r--src/gui/styles/qwindowsstyle.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/styles/qwindowsstyle.cpp b/src/gui/styles/qwindowsstyle.cpp
index f5aadb8c46..2ed93032a7 100644
--- a/src/gui/styles/qwindowsstyle.cpp
+++ b/src/gui/styles/qwindowsstyle.cpp
@@ -926,6 +926,7 @@ static const char *const question_xpm[] = {
#endif //QT_NO_IMAGEFORMAT_XPM
+#ifdef Q_OS_WIN
static QPixmap loadIconFromShell32( int resourceId, int size )
{
#ifdef Q_OS_WINCE
@@ -943,6 +944,7 @@ static QPixmap loadIconFromShell32( int resourceId, int size )
}
return QPixmap();
}
+#endif
/*!
\reimp