Commit e0f16c30 authored by Eike Ziller's avatar Eike Ziller Committed by Daniel Molkentin

Windows: Fix resource leak

Task-number: QTCREATORBUG-7385

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