From f3f4610ba4acdfa26a49526ffecc11cb2735d036 Mon Sep 17 00:00:00 2001 From: Victor Chernyakin <56512186+LocalSpook@users.noreply.github.com> Date: Wed, 16 Aug 2023 00:29:13 -0700 Subject: [PATCH] Convert Windows header names to lowercase PR #19465. --- CODING_GUIDELINES.md | 2 +- src/app/application.cpp | 4 ++-- src/app/qtlocalpeer/qtlocalpeer.cpp | 2 +- src/base/bittorrent/sessionimpl.cpp | 2 +- src/base/utils/fs.cpp | 2 +- src/base/utils/misc.cpp | 2 +- src/base/utils/misc.h | 2 +- src/base/utils/random.cpp | 4 ++-- src/gui/mainwindow.cpp | 4 ++-- src/gui/programupdater.cpp | 4 ++-- src/gui/torrentcontentmodel.cpp | 4 ++-- src/gui/utils.cpp | 6 +++--- 12 files changed, 19 insertions(+), 19 deletions(-) diff --git a/CODING_GUIDELINES.md b/CODING_GUIDELINES.md index fc8c2c447..4562dc842 100644 --- a/CODING_GUIDELINES.md +++ b/CODING_GUIDELINES.md @@ -342,7 +342,7 @@ Example: // System headers #ifdef Q_OS_WIN -#include +#include #endif // Boost library headers diff --git a/src/app/application.cpp b/src/app/application.cpp index 7667dc287..69d8cf698 100644 --- a/src/app/application.cpp +++ b/src/app/application.cpp @@ -37,8 +37,8 @@ #ifdef Q_OS_WIN #include -#include -#include +#include +#include #elif defined(Q_OS_UNIX) #include #endif diff --git a/src/app/qtlocalpeer/qtlocalpeer.cpp b/src/app/qtlocalpeer/qtlocalpeer.cpp index 2b264b593..2ad65f31a 100644 --- a/src/app/qtlocalpeer/qtlocalpeer.cpp +++ b/src/app/qtlocalpeer/qtlocalpeer.cpp @@ -71,7 +71,7 @@ #include #if defined(Q_OS_WIN) -#include +#include #endif #include diff --git a/src/base/bittorrent/sessionimpl.cpp b/src/base/bittorrent/sessionimpl.cpp index 60b6ab561..d7347d8d0 100644 --- a/src/base/bittorrent/sessionimpl.cpp +++ b/src/base/bittorrent/sessionimpl.cpp @@ -37,7 +37,7 @@ #include #ifdef Q_OS_WIN -#include +#include #include #include #endif diff --git a/src/base/utils/fs.cpp b/src/base/utils/fs.cpp index 34319133d..f52b17ec6 100644 --- a/src/base/utils/fs.cpp +++ b/src/base/utils/fs.cpp @@ -41,7 +41,7 @@ #include #if defined(Q_OS_WIN) -#include +#include #elif defined(Q_OS_MACOS) || defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD) #include #include diff --git a/src/base/utils/misc.cpp b/src/base/utils/misc.cpp index cf668f922..95f3da848 100644 --- a/src/base/utils/misc.cpp +++ b/src/base/utils/misc.cpp @@ -35,7 +35,7 @@ #include #include -#include +#include #else #include #include diff --git a/src/base/utils/misc.h b/src/base/utils/misc.h index 157bb357a..a56e488bf 100644 --- a/src/base/utils/misc.h +++ b/src/base/utils/misc.h @@ -31,7 +31,7 @@ #include #ifdef Q_OS_WIN -#include +#include #endif #include diff --git a/src/base/utils/random.cpp b/src/base/utils/random.cpp index 7938e5a0c..e9ae647f4 100644 --- a/src/base/utils/random.cpp +++ b/src/base/utils/random.cpp @@ -33,8 +33,8 @@ #include #ifdef Q_OS_WIN -#include -#include +#include +#include #else // Q_OS_WIN #include #include diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index a43d11477..9e1bfc86e 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -35,8 +35,8 @@ #include #if defined(Q_OS_WIN) -#include -#include // must follow after Windows.h +#include +#include // must follow after windows.h #endif #include diff --git a/src/gui/programupdater.cpp b/src/gui/programupdater.cpp index 68db32ab8..eab1e020a 100644 --- a/src/gui/programupdater.cpp +++ b/src/gui/programupdater.cpp @@ -32,8 +32,8 @@ #include #if defined(Q_OS_WIN) -#include -#include // must follow after Windows.h +#include +#include // must follow after windows.h #endif #include diff --git a/src/gui/torrentcontentmodel.cpp b/src/gui/torrentcontentmodel.cpp index d1960afa8..07231ccb6 100644 --- a/src/gui/torrentcontentmodel.cpp +++ b/src/gui/torrentcontentmodel.cpp @@ -38,8 +38,8 @@ #include #if defined(Q_OS_WIN) -#include -#include +#include +#include #else #include #include diff --git a/src/gui/utils.cpp b/src/gui/utils.cpp index 1757e1b35..c7c1f24c4 100644 --- a/src/gui/utils.cpp +++ b/src/gui/utils.cpp @@ -31,9 +31,9 @@ #include #ifdef Q_OS_WIN -#include -#include -#include +#include +#include +#include #endif #include