From 71b5a9e19a861d66c4045a5555e83de961770c49 Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Thu, 14 Jan 2021 14:17:58 +0200 Subject: [PATCH] Fix compile error Change-Id: Icf20d3f83a0792e59e9bd3a305d883d32ab66c77 Reviewed-by: Mahmoud Badri --- .../qmldesigner/components/itemlibrary/itemlibrarymodel.cpp | 2 -- .../components/itemlibrary/itemlibraryresourceview.cpp | 1 - .../components/itemlibrary/itemlibraryresourceview.h | 3 ++- .../qmldesigner/components/itemlibrary/itemlibrarywidget.cpp | 1 - .../qmldesigner/components/itemlibrary/itemlibrarywidget.h | 2 +- 5 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/plugins/qmldesigner/components/itemlibrary/itemlibrarymodel.cpp b/src/plugins/qmldesigner/components/itemlibrary/itemlibrarymodel.cpp index 19506042bb9..a01ce38fc72 100644 --- a/src/plugins/qmldesigner/components/itemlibrary/itemlibrarymodel.cpp +++ b/src/plugins/qmldesigner/components/itemlibrary/itemlibrarymodel.cpp @@ -29,8 +29,6 @@ #include "itemlibraryitem.h" #include "itemlibrarysection.h" -#include - #include #include #include diff --git a/src/plugins/qmldesigner/components/itemlibrary/itemlibraryresourceview.cpp b/src/plugins/qmldesigner/components/itemlibrary/itemlibraryresourceview.cpp index cbe21c190eb..d28f1312447 100644 --- a/src/plugins/qmldesigner/components/itemlibrary/itemlibraryresourceview.cpp +++ b/src/plugins/qmldesigner/components/itemlibrary/itemlibraryresourceview.cpp @@ -29,7 +29,6 @@ #include #include -#include #include #include diff --git a/src/plugins/qmldesigner/components/itemlibrary/itemlibraryresourceview.h b/src/plugins/qmldesigner/components/itemlibrary/itemlibraryresourceview.h index 590d4ad68ef..db213331e7a 100644 --- a/src/plugins/qmldesigner/components/itemlibrary/itemlibraryresourceview.h +++ b/src/plugins/qmldesigner/components/itemlibrary/itemlibraryresourceview.h @@ -25,6 +25,8 @@ #pragma once +#include + #include QT_BEGIN_NAMESPACE @@ -33,7 +35,6 @@ QT_END_NAMESPACE namespace QmlDesigner { -class PreviewTooltipBackend; class ImageCache; class ItemLibraryResourceView : public QListView { diff --git a/src/plugins/qmldesigner/components/itemlibrary/itemlibrarywidget.cpp b/src/plugins/qmldesigner/components/itemlibrary/itemlibrarywidget.cpp index 96aa07bf9eb..839916d6a1d 100644 --- a/src/plugins/qmldesigner/components/itemlibrary/itemlibrarywidget.cpp +++ b/src/plugins/qmldesigner/components/itemlibrary/itemlibrarywidget.cpp @@ -38,7 +38,6 @@ #include #include #include -#include #include #include #include diff --git a/src/plugins/qmldesigner/components/itemlibrary/itemlibrarywidget.h b/src/plugins/qmldesigner/components/itemlibrary/itemlibrarywidget.h index c4ca4c6e702..877fdb5a0e2 100644 --- a/src/plugins/qmldesigner/components/itemlibrary/itemlibrarywidget.h +++ b/src/plugins/qmldesigner/components/itemlibrary/itemlibrarywidget.h @@ -30,6 +30,7 @@ #include #include +#include #include #include @@ -55,7 +56,6 @@ class CustomFileSystemModel; class ItemLibraryModel; class ItemLibraryResourceView; -class PreviewTooltipBackend; class ImageCache; class ImageCacheCollector;