Skip to content
Snippets Groups Projects
Commit e0f16c30 authored by Eike Ziller's avatar Eike Ziller Committed by Daniel Molkentin
Browse files

Windows: Fix resource leak


Task-number: QTCREATORBUG-7385

Change-Id: I9c6e72a83e8761d32b1f9f94594e4e5d22f48b28
Reviewed-by: default avatarDaniel Molkentin <daniel.molkentin@nokia.com>
parent c9f4e68f
No related branches found
No related tags found
No related merge requests found
...@@ -134,6 +134,7 @@ void Core::Internal::ProgressManagerPrivate::setApplicationLabel(const QString & ...@@ -134,6 +134,7 @@ void Core::Internal::ProgressManagerPrivate::setApplicationLabel(const QString &
const HICON icon = pix.toWinHICON(); const HICON icon = pix.toWinHICON();
#endif #endif
pITask->SetOverlayIcon(winId, icon, (wchar_t*)text.utf16()); pITask->SetOverlayIcon(winId, icon, (wchar_t*)text.utf16());
DestroyIcon(icon);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment