Merge branch 'useuless_launcher' into 'master'

Remove some useless includes from the launcher

See merge request OpenMW/openmw!775

(cherry picked from commit a84bd643b334eb6ac715681c497184ac22212ced)

d3fff8cf Remove some useless includes from the launcher
deadcode
psi29a 4 years ago
parent e94181b2b2
commit b10a817f7e

@ -3,10 +3,8 @@
#include <array> #include <array>
#include <components/config/gamesettings.hpp> #include <components/config/gamesettings.hpp>
#include <components/config/launchersettings.hpp>
#include <QFileDialog> #include <QFileDialog>
#include <QCompleter> #include <QCompleter>
#include <QProxyStyle>
#include <QString> #include <QString>
#include <components/contentselector/view/contentselector.hpp> #include <components/contentselector/view/contentselector.hpp>
#include <components/contentselector/model/esmfile.hpp> #include <components/contentselector/model/esmfile.hpp>

@ -1,7 +1,6 @@
#ifndef ADVANCEDPAGE_H #ifndef ADVANCEDPAGE_H
#define ADVANCEDPAGE_H #define ADVANCEDPAGE_H
#include <QWidget>
#include <QCompleter> #include <QCompleter>
#include <QStringListModel> #include <QStringListModel>

@ -4,7 +4,6 @@
#include <QPushButton> #include <QPushButton>
#include <QMessageBox> #include <QMessageBox>
#include <QCheckBox>
#include <QMenu> #include <QMenu>
#include <QSortFilterProxyModel> #include <QSortFilterProxyModel>
#include <thread> #include <thread>
@ -14,7 +13,6 @@
#include <components/files/configurationmanager.hpp> #include <components/files/configurationmanager.hpp>
#include <components/contentselector/model/esmfile.hpp> #include <components/contentselector/model/esmfile.hpp>
#include <components/contentselector/model/naturalsort.hpp>
#include <components/contentselector/view/contentselector.hpp> #include <components/contentselector/view/contentselector.hpp>
#include <components/config/gamesettings.hpp> #include <components/config/gamesettings.hpp>

@ -6,7 +6,6 @@
#include <QDir> #include <QDir>
#include <QFile>
#include <QStringList> #include <QStringList>
class QSortFilterProxyModel; class QSortFilterProxyModel;

@ -1,8 +1,6 @@
#ifndef GRAPHICSPAGE_H #ifndef GRAPHICSPAGE_H
#define GRAPHICSPAGE_H #define GRAPHICSPAGE_H
#include <QWidget>
#include "ui_graphicspage.h" #include "ui_graphicspage.h"
#include <components/settings/settings.hpp> #include <components/settings/settings.hpp>

@ -1,10 +1,8 @@
#include <iostream> #include <iostream>
#include <QApplication>
#include <QTranslator> #include <QTranslator>
#include <QTextCodec> #include <QTextCodec>
#include <QDir> #include <QDir>
#include <QDebug>
#ifdef MAC_OS_X_VERSION_MIN_REQUIRED #ifdef MAC_OS_X_VERSION_MIN_REQUIRED
#undef MAC_OS_X_VERSION_MIN_REQUIRED #undef MAC_OS_X_VERSION_MIN_REQUIRED

@ -5,15 +5,12 @@
#include <QDate> #include <QDate>
#include <QMessageBox> #include <QMessageBox>
#include <QPushButton>
#include <QFontDatabase> #include <QFontDatabase>
#include <QInputDialog> #include <QInputDialog>
#include <QFileDialog> #include <QFileDialog>
#include <QCloseEvent> #include <QCloseEvent>
#include <QTextCodec> #include <QTextCodec>
#include <QDebug>
#include "playpage.hpp" #include "playpage.hpp"
#include "graphicspage.hpp" #include "graphicspage.hpp"
#include "datafilespage.hpp" #include "datafilespage.hpp"

@ -1,8 +1,6 @@
#ifndef MAINDIALOG_H #ifndef MAINDIALOG_H
#define MAINDIALOG_H #define MAINDIALOG_H
#include <QMainWindow>
#include <QProcess>
#ifndef Q_MOC_RUN #ifndef Q_MOC_RUN
#include <components/files/configurationmanager.hpp> #include <components/files/configurationmanager.hpp>

@ -1,8 +1,6 @@
#ifndef PLAYPAGE_H #ifndef PLAYPAGE_H
#define PLAYPAGE_H #define PLAYPAGE_H
#include <QWidget>
#include "ui_playpage.h" #include "ui_playpage.h"
class QComboBox; class QComboBox;

@ -1,7 +1,6 @@
#include <signal.h> #include <signal.h>
#include <SDL.h> #include <SDL.h>
#include <SDL_video.h>
bool initSDL() bool initSDL()
{ {

@ -2,7 +2,6 @@
#include <QFileDialog> #include <QFileDialog>
#include <QMessageBox> #include <QMessageBox>
#include <QDebug>
#include <QDir> #include <QDir>
#include <components/files/configurationmanager.hpp> #include <components/files/configurationmanager.hpp>

@ -1,9 +1,6 @@
#ifndef SETTINGSPAGE_HPP #ifndef SETTINGSPAGE_HPP
#define SETTINGSPAGE_HPP #define SETTINGSPAGE_HPP
#include <QWidget>
#include <QProcess>
#include <components/process/processinvoker.hpp> #include <components/process/processinvoker.hpp>
#include "ui_settingspage.h" #include "ui_settingspage.h"

@ -1,7 +1,6 @@
#ifndef OPENMW_CELLNAMELOADER_H #ifndef OPENMW_CELLNAMELOADER_H
#define OPENMW_CELLNAMELOADER_H #define OPENMW_CELLNAMELOADER_H
#include <QComboBox>
#include <QSet> #include <QSet>
#include <QString> #include <QString>

@ -11,7 +11,6 @@
#define LINEEDIT_H #define LINEEDIT_H
#include <QLineEdit> #include <QLineEdit>
#include <QStyle>
#include <QStylePainter> #include <QStylePainter>
#include <QToolButton> #include <QToolButton>

@ -1,5 +1,4 @@
#include <QRegExpValidator> #include <QRegExpValidator>
#include <QLineEdit>
#include <QString> #include <QString>
#include <QApplication> #include <QApplication>
#include <QKeyEvent> #include <QKeyEvent>

Loading…
Cancel
Save