Windows7ThumbBar: Fix namespace

This commit is contained in:
Jonas Kvinge 2024-08-07 01:15:26 +02:00
parent 819463a865
commit e3b8f9cb8c
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ ITaskbarList3 *Windows7ThumbBar::CreateTaskbarList() {
void Windows7ThumbBar::SetupButton(const QAction *action, THUMBBUTTON *button) { void Windows7ThumbBar::SetupButton(const QAction *action, THUMBBUTTON *button) {
if (action) { 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; button->dwFlags = action->isEnabled() ? THBF_ENABLED : THBF_DISABLED;
// This is unsafe - doesn't obey 260-char restriction // This is unsafe - doesn't obey 260-char restriction
action->text().toWCharArray(button->szTip); action->text().toWCharArray(button->szTip);