forked from qt-creator/qt-creator
Windows: Fix resource leak
Task-number: QTCREATORBUG-7385
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
(cherry picked from commit e0f16c3093
)
Change-Id: I85e0fc108eafea1abb7d4d559d1020163969e664
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
This commit is contained in:
committed by
Daniel Molkentin
parent
a4bd79f732
commit
98f3bd2930
@@ -133,6 +133,7 @@ void Core::Internal::ProgressManagerPrivate::setApplicationLabel(const QString &
|
|||||||
Q_UNIMPLEMENTED();
|
Q_UNIMPLEMENTED();
|
||||||
#else
|
#else
|
||||||
pITask->SetOverlayIcon(winId, pix.toWinHICON(), (wchar_t*)text.utf16());
|
pITask->SetOverlayIcon(winId, pix.toWinHICON(), (wchar_t*)text.utf16());
|
||||||
|
DestroyIcon(icon);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user