From 276a3b42467768ebc57891bcfef261ae53d1fa70 Mon Sep 17 00:00:00 2001 From: Dominik Holland Date: Thu, 18 Jun 2020 16:06:47 +0200 Subject: Build fix Change-Id: I4c9694deb4c03d02304f7675da10a0a4661513eb Reviewed-by: Robert Griebl --- src/ivicore/qiviservicemanager.h | 2 ++ src/ivicore/qivisimulationglobalobject.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ivicore/qiviservicemanager.h b/src/ivicore/qiviservicemanager.h index ac3850c..6e523dc 100644 --- a/src/ivicore/qiviservicemanager.h +++ b/src/ivicore/qiviservicemanager.h @@ -44,7 +44,9 @@ #define QIVISERVICEMANAGER_H #include + #include +#include QT_BEGIN_NAMESPACE diff --git a/src/ivicore/qivisimulationglobalobject.cpp b/src/ivicore/qivisimulationglobalobject.cpp index 853d7a2..fe9f7b6 100644 --- a/src/ivicore/qivisimulationglobalobject.cpp +++ b/src/ivicore/qivisimulationglobalobject.cpp @@ -300,7 +300,7 @@ QVariantMap QIviSimulationGlobalObject::findData(const QVariantMap &data, const if (data.contains(key)) return data.value(key).toMap(); - int index = key.indexOf('.'); + int index = key.indexOf(QLatin1Char('.')); if (index == -1) break; key = key.right(key.count() - index - 1); -- cgit v1.2.3