From 49b25ab07be37f98237a9d852111c09e8e8c7e02 Mon Sep 17 00:00:00 2001 From: Fabian Kosmale Date: Sun, 6 Feb 2022 21:43:52 +0100 Subject: [PATCH] XCB: Do not depend on transitive includes As a drive-by, follow the coding convention when including qobject.h Change-Id: I73066646d7f03ee0138e70567738e296b2183f63 Reviewed-by: Liang Qi --- src/plugins/platforms/xcb/qxcbclipboard.h | 3 ++- src/plugins/platforms/xcb/qxcbsessionmanager.cpp | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugins/platforms/xcb/qxcbclipboard.h b/src/plugins/platforms/xcb/qxcbclipboard.h index a33f43c4353..82c1d5653c3 100644 --- a/src/plugins/platforms/xcb/qxcbclipboard.h +++ b/src/plugins/platforms/xcb/qxcbclipboard.h @@ -45,7 +45,8 @@ #include #include -#include +#include +#include QT_BEGIN_NAMESPACE diff --git a/src/plugins/platforms/xcb/qxcbsessionmanager.cpp b/src/plugins/platforms/xcb/qxcbsessionmanager.cpp index 3e0756b0e43..acdd5b4a902 100644 --- a/src/plugins/platforms/xcb/qxcbsessionmanager.cpp +++ b/src/plugins/platforms/xcb/qxcbsessionmanager.cpp @@ -42,6 +42,7 @@ #ifndef QT_NO_SESSIONMANAGER +#include #include #include