diff options
author | Eike Ziller <eike.ziller@nokia.com> | 2012-08-08 11:55:03 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@nokia.com> | 2012-08-08 11:56:01 +0200 |
commit | a879876b041abc0b0e7d4be831d57db9d8191d87 (patch) | |
tree | a0a3fe6dd24fc2fe0aca9f996b368532b6068e82 | |
parent | 10dadfadbeabb07d73d23ff0bda970c654ac5afd (diff) |
Windows: Fix build
Change-Id: Ia8f13b5234bf192ab138a229668616019fb3faf3
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
-rw-r--r-- | src/plugins/coreplugin/progressmanager/progressmanager_win.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/coreplugin/progressmanager/progressmanager_win.cpp b/src/plugins/coreplugin/progressmanager/progressmanager_win.cpp index 7b45e56439..458ed43f4f 100644 --- a/src/plugins/coreplugin/progressmanager/progressmanager_win.cpp +++ b/src/plugins/coreplugin/progressmanager/progressmanager_win.cpp @@ -132,7 +132,8 @@ void Core::Internal::ProgressManagerPrivate::setApplicationLabel(const QString & // See pixmaputils.cpp in the Windows plugin. Q_UNIMPLEMENTED(); #else - pITask->SetOverlayIcon(winId, pix.toWinHICON(), (wchar_t*)text.utf16()); + const HICON icon = pix.toWinHICON(); + pITask->SetOverlayIcon(winId, icon, (wchar_t*)text.utf16()); DestroyIcon(icon); #endif } |