From 59b79d5e48c963fa98e7e6252ce60de21335739a Mon Sep 17 00:00:00 2001 From: Roman Vladimirov Date: Mon, 23 Oct 2023 15:42:46 +0300 Subject: [PATCH] > Fixed typeconversion --- src/ViewModels/httprequestviewmodel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ViewModels/httprequestviewmodel.cpp b/src/ViewModels/httprequestviewmodel.cpp index 3986ac5..308a19d 100644 --- a/src/ViewModels/httprequestviewmodel.cpp +++ b/src/ViewModels/httprequestviewmodel.cpp @@ -574,7 +574,8 @@ QString HttpRequestViewModel::getAllFields() const noexcept } ); - QStringList lines(m_items->size()); + qsizetype count = m_items->size(); + QStringList lines(count); int iterator = 0; foreach(auto item, sortedList) {