Forward declare as much as possible

This commit is contained in:
Chocobo1 2019-05-16 13:41:29 +08:00
parent 401bdbf3d9
commit e288de7ec1
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
33 changed files with 71 additions and 58 deletions

View file

@ -29,9 +29,21 @@
#include "preferences.h"
#ifdef Q_OS_MAC
#include <CoreServices/CoreServices.h>
#endif
#ifdef Q_OS_WIN
#include <shlobj.h>
#endif
#include <QDateTime>
#include <QDir>
#include <QLocale>
#include <QNetworkCookie>
#include <QSettings>
#include <QSize>
#include <QTime>
#include <QVariant>
#ifndef DISABLE_GUI
#include <QApplication>
@ -40,14 +52,9 @@
#endif
#ifdef Q_OS_WIN
#include <shlobj.h>
#include <QRegularExpression>
#endif
#ifdef Q_OS_MAC
#include <CoreServices/CoreServices.h>
#endif
#include "algorithm.h"
#include "global.h"
#include "settingsstorage.h"