From f8d04c0732b0a60de81934d2284ef4361dcc5b9e Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 5 May 2021 08:37:04 -0700 Subject: [PATCH] Add missing #include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A local, unpushed change highlighted it. qmldebugtranslationclient.cpp:47:42: error: use of deleted function ‘QYouForgotToDeclareStreamingOperators& operator<<(QDataStream&, T) [with T = QUrl]’ I really don't understand how this could compile even without my change. Change-Id: I9f583ca106d24f048885fffd167c35c9e614c786 Reviewed-by: Tim Jenssen --- src/plugins/qmlpreview/qmldebugtranslationclient.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/qmlpreview/qmldebugtranslationclient.cpp b/src/plugins/qmlpreview/qmldebugtranslationclient.cpp index 3ef4351d498..e383784ef59 100644 --- a/src/plugins/qmlpreview/qmldebugtranslationclient.cpp +++ b/src/plugins/qmlpreview/qmldebugtranslationclient.cpp @@ -26,6 +26,8 @@ #include "qmldebugtranslationclient.h" #include +#include + #ifdef FOUND_QML_DEBUG_TRANSLATION_PROTOCOL #include #endif