Skip to content

Commit

Permalink
* Remake way to resize array size
Browse files Browse the repository at this point in the history
  • Loading branch information
trueromanus committed Oct 23, 2023
1 parent 59b79d5 commit 2e10be6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ViewModels/httprequestviewmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -574,8 +574,8 @@ QString HttpRequestViewModel::getAllFields() const noexcept
}
);

qsizetype count = m_items->size();
QStringList lines(count);
QStringList lines;
lines.resize(m_items->size());
int iterator = 0;

foreach(auto item, sortedList) {
Expand Down

0 comments on commit 2e10be6

Please sign in to comment.