diff --git a/src/core/windows7thumbbar.cpp b/src/core/windows7thumbbar.cpp index e784cacf..d55a73f8 100644 --- a/src/core/windows7thumbbar.cpp +++ b/src/core/windows7thumbbar.cpp @@ -98,7 +98,7 @@ ITaskbarList3 *Windows7ThumbBar::CreateTaskbarList() { void Windows7ThumbBar::SetupButton(const QAction *action, THUMBBUTTON *button) { if (action) { - button->hIcon = qt_pixmapToWinHICON(action->icon().pixmap(Windows7ThumbBar::kIconSize)); + button->hIcon = qt_pixmapToWinHICON(action->icon().pixmap(kIconSize)); button->dwFlags = action->isEnabled() ? THBF_ENABLED : THBF_DISABLED; // This is unsafe - doesn't obey 260-char restriction action->text().toWCharArray(button->szTip);