Windows7ThumbBar: Fix namespace
This commit is contained in:
parent
819463a865
commit
e3b8f9cb8c
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue