Fix windows thumbbar

This commit is contained in:
Jonas Kvinge
2019-08-29 21:32:52 +02:00
parent 9b45f0661e
commit b7e13c7b86
4 changed files with 31 additions and 28 deletions

View File

@@ -90,9 +90,11 @@ class TrackSelectionDialog;
class TranscodeDialog;
#endif
class Ui_MainWindow;
class Windows7ThumbBar;
class InternetSongsView;
class InternetTabsView;
#ifdef Q_OS_WIN
class Windows7ThumbBar;
#endif
class MainWindow : public QMainWindow, public PlatformInterface {
Q_OBJECT
@@ -117,10 +119,7 @@ class MainWindow : public QMainWindow, public PlatformInterface {
protected:
void keyPressEvent(QKeyEvent *event);
void closeEvent(QCloseEvent *event);
#ifdef Q_OS_WIN
bool winEvent(MSG *message, long *result);
#endif
bool nativeEvent(const QByteArray &eventType, void *message, long *result);
// PlatformInterface
void Activate();
@@ -284,7 +283,9 @@ class MainWindow : public QMainWindow, public PlatformInterface {
private:
Ui_MainWindow *ui_;
#ifdef Q_OS_WIN
Windows7ThumbBar *thumbbar_;
#endif
Application *app_;
SystemTrayIcon *tray_icon_;