1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-17 02:59:03 +01:00

Add missing QGuiApplication include

This commit is contained in:
Jonas Kvinge 2020-04-06 22:26:55 +02:00
parent 7e613f032e
commit 8321a48af7
2 changed files with 3 additions and 2 deletions

View File

@ -26,6 +26,7 @@
#include <QMainWindow>
#include <QScreen>
#include <QWindow>
#include <QGuiApplication>
#include <QAbstractItemModel>
#include <QAbstractItemView>
#include <QTreeWidget>
@ -107,7 +108,7 @@ void SettingsItemDelegate::paint(QPainter *painter, const QStyleOptionViewItem &
}
SettingsDialog::SettingsDialog(Application *app, QMainWindow *mainwindow, QDialog *parent)
SettingsDialog::SettingsDialog(Application *app, QMainWindow *mainwindow, QWidget *parent)
: QDialog(parent),
mainwindow_(mainwindow),
app_(app),

View File

@ -69,7 +69,7 @@ class SettingsDialog : public QDialog {
Q_OBJECT
public:
SettingsDialog(Application *app, QMainWindow *mainwindow, QDialog *parent = nullptr);
SettingsDialog(Application *app, QMainWindow *mainwindow, QWidget *parent = nullptr);
~SettingsDialog();
enum Page {