diff --git a/src/app/main.cpp b/src/app/main.cpp index caa5d1211..01f4bda4d 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -47,6 +47,7 @@ #include #include #include +#include #ifdef QBT_STATIC_QT #include diff --git a/src/base/preferences.cpp b/src/base/preferences.cpp index 7758d483b..1f42496d1 100644 --- a/src/base/preferences.cpp +++ b/src/base/preferences.cpp @@ -50,7 +50,6 @@ #endif #include "global.h" -#include "logger.h" #include "settingsstorage.h" #include "utils/fs.h" #include "utils/misc.h" diff --git a/src/base/preferences.h b/src/base/preferences.h index ba842f119..fdddef15f 100644 --- a/src/base/preferences.h +++ b/src/base/preferences.h @@ -31,18 +31,14 @@ #define PREFERENCES_H #include -#include #include #include -#include #include #include #include -#include #include #include "base/utils/net.h" -#include "types.h" enum SchedulerDays { diff --git a/src/base/utils/net.cpp b/src/base/utils/net.cpp index 06fe9b375..3a6ab3f5f 100644 --- a/src/base/utils/net.cpp +++ b/src/base/utils/net.cpp @@ -28,7 +28,6 @@ #include "net.h" -#include #include namespace Utils diff --git a/src/base/utils/net.h b/src/base/utils/net.h index cc440326b..62572f5f0 100644 --- a/src/base/utils/net.h +++ b/src/base/utils/net.h @@ -29,10 +29,10 @@ #ifndef BASE_UTILS_NET_H #define BASE_UTILS_NET_H +#include #include #include -class QHostAddress; class QString; namespace Utils