summaryrefslogtreecommitdiff
path: root/src/modlistviewactions.cpp
diff options
context:
space:
mode:
authorJeremy Rimpo <jeremy.rimpo@servermonkey.com>2023-09-23 20:59:40 -0500
committerJeremy Rimpo <jeremy.rimpo@servermonkey.com>2023-09-23 20:59:40 -0500
commitefdff42d5f6cdf5044e741ad7aa00bf73991c422 (patch)
tree0554ea7bec60e31d6a0110553c0a43eaefb7d91e /src/modlistviewactions.cpp
parentb7d4d20bf185e23e5d19451cccb66bdc94acf09f (diff)
Make category struct attributes private
Diffstat (limited to 'src/modlistviewactions.cpp')
-rw-r--r--src/modlistviewactions.cpp3
1 files changed, 1 insertions, 2 deletions
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));