fix: get rid of some more warnings (#5672)

This commit is contained in:
nerix
2024-10-27 13:42:23 +01:00
committed by GitHub
parent 74a385dfee
commit bbcd8c5eb2
21 changed files with 79 additions and 64 deletions
+2 -2
View File
@@ -119,9 +119,9 @@ void TooltipWidget::set(const std::vector<TooltipEntry> &entries,
this->setVisibleEntries(entries.size());
for (int i = 0; i < entries.size(); ++i)
for (size_t i = 0; i < entries.size(); ++i)
{
if (auto *entryWidget = this->entryAt(i))
if (auto *entryWidget = this->entryAt(static_cast<int>(i)))
{
const auto &entry = entries[i];
entryWidget->setImage(entry.image);