mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-09 00:52:30 -06:00
Move to separate headers
Hopefully this can speed up compilation times. https://doc.qt.io/qt-6/qtglobal.html#details PR #19430.
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QtSystemDetection>
|
||||
#include <QAtomicInt>
|
||||
#include <QCoreApplication>
|
||||
#include <QPointer>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
#include "applicationinstancemanager.h"
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QtSystemDetection>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#include <windows.h>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
* exception statement from your version.
|
||||
*/
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QtSystemDetection>
|
||||
|
||||
#include <chrono>
|
||||
#include <cstdlib>
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
|
||||
#include "qtlocalpeer.h"
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QtSystemDetection>
|
||||
|
||||
#if defined(Q_OS_WIN)
|
||||
#include <Windows.h>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
#include "signalhandler.h"
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QtSystemDetection>
|
||||
|
||||
#include <algorithm>
|
||||
#include <csignal>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
#include "upgrade.h"
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QtSystemDetection>
|
||||
#include <QCoreApplication>
|
||||
#include <QMetaEnum>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user