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 <QDialog>
#include <QString>
#include "Common/CommonTypes.h"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -189,7 +189,7 @@ void Init()
handlers.ready = HandleDiscordReady;
handlers.joinRequest = HandleDiscordJoinRequest;
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);
UpdateDiscordPresence();
#endif