Possible fix Windows thumbbar
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
* Strawberry Music Player
|
||||
* This file was part of Clementine.
|
||||
* Copyright 2010, David Sansome <me@davidsansome.com>
|
||||
* Copyright 2020, Jonas Kvinge <jonas@jkvinge.net>
|
||||
*
|
||||
* Strawberry is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -21,8 +22,6 @@
|
||||
#ifndef WINDOWS7THUMBBAR_H
|
||||
#define WINDOWS7THUMBBAR_H
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include <shobjidl.h>
|
||||
|
||||
@@ -48,6 +47,10 @@ class Windows7ThumbBar : public QObject {
|
||||
// Call this from the parent's winEvent() function.
|
||||
void HandleWinEvent(MSG *msg);
|
||||
|
||||
private:
|
||||
ITaskbarList3 *CreateTaskbarList();
|
||||
void SetupButton(const QAction *action, THUMBBUTTON *button);
|
||||
|
||||
private slots:
|
||||
void ActionChanged();
|
||||
|
||||
@@ -56,8 +59,6 @@ class Windows7ThumbBar : public QObject {
|
||||
QList<QAction*> actions_;
|
||||
|
||||
unsigned int button_created_message_id_;
|
||||
|
||||
ITaskbarList3 *taskbar_list_;
|
||||
};
|
||||
|
||||
#endif // WINDOWS7THUMBBAR_H
|
||||
|
||||
Reference in New Issue
Block a user