aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/winextras/qwintaskbarbutton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/winextras/qwintaskbarbutton.cpp b/src/winextras/qwintaskbarbutton.cpp
index edf3acc..8b9f7a7 100644
--- a/src/winextras/qwintaskbarbutton.cpp
+++ b/src/winextras/qwintaskbarbutton.cpp
@@ -137,7 +137,7 @@ void QWinTaskbarButtonPrivate::updateOverlayIcon()
pTbList->SetOverlayIcon(handle(), NULL, descrPtr);
if (hicon)
- DeleteObject(hicon);
+ DestroyIcon(hicon);
if (descrPtr)
delete[] descrPtr;
}