From e3b8f9cb8c31d55235e100bc7f5a01231f70d814 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Wed, 7 Aug 2024 01:15:26 +0200 Subject: [PATCH] Windows7ThumbBar: Fix namespace --- src/core/windows7thumbbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);