From efdff42d5f6cdf5044e741ad7aa00bf73991c422 Mon Sep 17 00:00:00 2001 From: Jeremy Rimpo Date: Sat, 23 Sep 2023 20:59:40 -0500 Subject: Make category struct attributes private --- src/modlistviewactions.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/modlistviewactions.cpp') diff --git a/src/modlistviewactions.cpp b/src/modlistviewactions.cpp index 983574ab..cbac9c6c 100644 --- a/src/modlistviewactions.cpp +++ b/src/modlistviewactions.cpp @@ -1135,8 +1135,7 @@ void ModListViewActions::remapCategory(const QModelIndexList& indices) const categoryID = downloadMeta.value("category", 0).toInt(); } } - unsigned int categoryIndex = - CategoryFactory::instance().resolveNexusID(categoryID); + unsigned int categoryIndex = CategoryFactory::instance().resolveNexusID(categoryID); if (categoryIndex != 0) modInfo->setPrimaryCategory( CategoryFactory::instance().getCategoryID(categoryIndex)); -- cgit v1.3.1