From 4ace604dcc79ce1ea948da90daf7f01c9820fccb Mon Sep 17 00:00:00 2001 From: Leonardo Zide Date: Sun, 8 Dec 2019 18:52:06 -0800 Subject: [PATCH] Fixed gcc error. --- common/lc_partselectionwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lc_partselectionwidget.cpp b/common/lc_partselectionwidget.cpp index ca9a9b2a..fa2c5f29 100644 --- a/common/lc_partselectionwidget.cpp +++ b/common/lc_partselectionwidget.cpp @@ -1049,7 +1049,7 @@ void lcPartSelectionWidget::UpdateCategories() QTreeWidgetItem* SubmodelsCategoryItem = new QTreeWidgetItem(mCategoriesWidget, QStringList(tr("Submodels"))); SubmodelsCategoryItem->setData(0, static_cast(lcPartCategoryRole::Type), static_cast(lcPartCategoryType::Submodels)); - for (size_t SetIdx = 0; SetIdx < mCustomSets.size(); SetIdx++) + for (int SetIdx = 0; SetIdx < static_cast(mCustomSets.size()); SetIdx++) { const lcPartCategoryCustomSet& Set = mCustomSets[SetIdx]; QTreeWidgetItem* SetCategoryItem = new QTreeWidgetItem(mCategoriesWidget, QStringList(Set.Name));