From 156dab6bc548c0c178f1658af4bd9e3da7bb7a19 Mon Sep 17 00:00:00 2001 From: Fanda Vacek Date: Fri, 2 Feb 2024 19:34:44 +0100 Subject: [PATCH] Fixed bug when queries for huge data were running forever. --- .clang-tidy | 1 + 3rdparty/libshv | 2 +- shvspy/src/appversion.h | 2 +- shvspy/src/servertreemodel/shvbrokernodeitem.cpp | 1 - 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.clang-tidy b/.clang-tidy index 6eca2fc..15e77a9 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -54,6 +54,7 @@ Checks: -hicpp-use-override, -hicpp-vararg, -misc-const-correctness, + -misc-include-cleaner, -misc-no-recursion, -misc-non-private-member-variables-in-classes, -misc-unused-parameters, diff --git a/3rdparty/libshv b/3rdparty/libshv index 4767cd7..8f4da55 160000 --- a/3rdparty/libshv +++ b/3rdparty/libshv @@ -1 +1 @@ -Subproject commit 4767cd75fe9e27559db3948c0c5e917abebea398 +Subproject commit 8f4da556c5b01bfc0f75051153566791b0d101c3 diff --git a/shvspy/src/appversion.h b/shvspy/src/appversion.h index 6dbadeb..d01fa99 100644 --- a/shvspy/src/appversion.h +++ b/shvspy/src/appversion.h @@ -1,4 +1,4 @@ #pragma once -#define APP_VERSION "1.7.0" +#define APP_VERSION "1.7.1" diff --git a/shvspy/src/servertreemodel/shvbrokernodeitem.cpp b/shvspy/src/servertreemodel/shvbrokernodeitem.cpp index be2d88f..cfeb743 100644 --- a/shvspy/src/servertreemodel/shvbrokernodeitem.cpp +++ b/shvspy/src/servertreemodel/shvbrokernodeitem.cpp @@ -567,7 +567,6 @@ void ShvBrokerNodeItem::createSubscriptions() connect(rpc, &RpcCall::maybeResult, this, [this](const auto &result, const auto &err) { using ShvApiVersion = shv::iotqt::rpc::ClientConnection::ShvApiVersion; if(err.isValid()) { - shvError() << "Call check SHV API version error:" << err.toString(); clientConnection()->setShvApiVersion(ShvApiVersion::V2); } else {