Include the correct header

And remove the unused ones
This commit is contained in:
Chocobo1 2019-01-14 08:04:06 +08:00
parent cf4db1b418
commit 6d7e5f82ae
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
2 changed files with 9 additions and 8 deletions

View file

@ -29,19 +29,20 @@
#include "application.h"
#include <QtGlobal>
#include <algorithm>
#ifdef Q_OS_WIN
#include <memory>
#include <Windows.h>
#include <Shellapi.h>
#endif
#include <QAtomicInt>
#include <QDebug>
#include <QLibraryInfo>
#include <QLocale>
#include <QProcess>
#include <QSysInfo>
#ifdef Q_OS_WIN
#include <memory>
#include <Shellapi.h>
#endif
#ifndef DISABLE_GUI
#include <QMessageBox>

View file

@ -48,7 +48,7 @@ class QSessionManager;
typedef QtSingleCoreApplication BaseApplication;
#endif // DISABLE_GUI
#include "base/utils/misc.h"
#include "base/types.h"
#include "cmdoptions.h"
#ifndef DISABLE_WEBUI