Merge pull request #7822 from Tilka/qt_includes

DolphinQt: clean up includes
This commit is contained in:
Tilka 2019-02-25 23:04:59 +00:00 committed by GitHub
commit 19673ce79a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 9 additions and 9 deletions

View File

@ -8,7 +8,6 @@
#include <vector> #include <vector>
#include <QDialog> #include <QDialog>
#include <QString>
#include "Common/CommonTypes.h" #include "Common/CommonTypes.h"

View File

@ -4,9 +4,10 @@
#pragma once #pragma once
#include <QDialog>
#include <ctime> #include <ctime>
#include <QDialog>
class QGridLayout; class QGridLayout;
class QPixmap; class QPixmap;

View File

@ -17,6 +17,7 @@ class QDialogButtonBox;
class QGroupBox; class QGroupBox;
class QLabel; class QLabel;
class QLineEdit; class QLineEdit;
class QPixmap;
class QPushButton; class QPushButton;
class QTableWidget; class QTableWidget;
class QTimer; class QTimer;

View File

@ -8,10 +8,11 @@
#include <memory> #include <memory>
#include <string> #include <string>
#include <QMenu>
#include <QMenuBar> #include <QMenuBar>
#include <QPointer> #include <QPointer>
class QMenu;
namespace Core namespace Core
{ {
enum class State; enum class State;

View File

@ -7,7 +7,6 @@
#include <QApplication> #include <QApplication>
#include <QDir> #include <QDir>
#include <QFile> #include <QFile>
#include <QSettings>
#include <QSize> #include <QSize>
#include "AudioCommon/AudioCommon.h" #include "AudioCommon/AudioCommon.h"

View File

@ -9,7 +9,6 @@
#include <QFont> #include <QFont>
#include <QObject> #include <QObject>
#include <QSettings> #include <QSettings>
#include <QVector>
namespace Core namespace Core
{ {
@ -29,7 +28,6 @@ class NetPlayServer;
class GameListModel; class GameListModel;
class InputConfig; class InputConfig;
class QFont;
// UI settings to be stored in the config directory. // UI settings to be stored in the config directory.
class Settings final : public QObject class Settings final : public QObject

View File

@ -5,6 +5,7 @@
#include <algorithm> #include <algorithm>
#include <vector> #include <vector>
#include <QAction>
#include <QIcon> #include <QIcon>
#include "Core/Core.h" #include "Core/Core.h"

View File

@ -4,10 +4,10 @@
#pragma once #pragma once
#include <QAction>
#include <QLineEdit>
#include <QToolBar> #include <QToolBar>
class QAction;
namespace Core namespace Core
{ {
enum class State; enum class State;

View File

@ -189,7 +189,7 @@ void Init()
handlers.ready = HandleDiscordReady; handlers.ready = HandleDiscordReady;
handlers.joinRequest = HandleDiscordJoinRequest; handlers.joinRequest = HandleDiscordJoinRequest;
handlers.joinGame = HandleDiscordJoin; handlers.joinGame = HandleDiscordJoin;
// The number is the client ID for Dolphin, it's used for images and the appication name // The number is the client ID for Dolphin, it's used for images and the application name
Discord_Initialize("455712169795780630", &handlers, 1, nullptr); Discord_Initialize("455712169795780630", &handlers, 1, nullptr);
UpdateDiscordPresence(); UpdateDiscordPresence();
#endif #endif