summaryrefslogtreecommitdiff
path: root/src/modlistcontextmenu.cpp
diff options
context:
space:
mode:
authorJeremy Rimpo <jeremy.rimpo@servermonkey.com>2023-09-21 17:43:29 -0500
committerJeremy Rimpo <jeremy.rimpo@servermonkey.com>2023-09-21 17:43:29 -0500
commitd2e48ed72e3526c08580d5c4b3531778267532c5 (patch)
tree49e8e02641055f6f0ed46d9467a288868f7f1262 /src/modlistcontextmenu.cpp
parent133c072eb7f63e807f2a211804537f59d1f8b0ed (diff)
Fix rebase issues
Diffstat (limited to 'src/modlistcontextmenu.cpp')
-rw-r--r--src/modlistcontextmenu.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modlistcontextmenu.cpp b/src/modlistcontextmenu.cpp
index 6954652e..06cd19d6 100644
--- a/src/modlistcontextmenu.cpp
+++ b/src/modlistcontextmenu.cpp
@@ -95,7 +95,7 @@ void ModListGlobalContextMenu::populate(OrganizerCore& core, ModListView* view,
view->actions().checkModsForUpdates();
});
addAction(tr("Auto assign categories"), [=]() {
- view->actions().assignCategories();
+ view->actions().assignCategories();
});
addAction(tr("Refresh"), &core, &OrganizerCore::profileRefresh);
addAction(tr("Export to csv..."), [=]() {
@@ -187,11 +187,11 @@ void ModListPrimaryCategoryMenu::populate(const CategoryFactory* factory,
clear();
const std::set<int>& categories = mod->getCategories();
for (int categoryID : categories) {
- int catIdx = factory.getCategoryIndex(categoryID);
+ int catIdx = factory->getCategoryIndex(categoryID);
QWidgetAction* action = new QWidgetAction(this);
try {
QRadioButton* categoryBox =
- new QRadioButton(factory.getCategoryName(catIdx).replace('&', "&&"), this);
+ new QRadioButton(factory->getCategoryName(catIdx).replace('&', "&&"), this);
categoryBox->setChecked(categoryID == mod->primaryCategory());
action->setDefaultWidget(categoryBox);
action->setData(categoryID);