summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2020-12-30 17:21:20 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2021-01-02 15:38:17 +0100
commit6443fa4c0e027faced0af9539533e1c404badf3b (patch)
tree9d50cd24479d046da767e3a8cf50f3106c831566 /src/mainwindow.h
parenteabf64fbc07b457b29aaf5e25fe6e1027b574976 (diff)
Fix category management.
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 97bca68b..9e9e9591 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -129,8 +129,6 @@ public:
void saveArchiveList();
- void addPrimaryCategoryCandidates(QMenu *primaryCategoryMenu, ModInfo::Ptr info);
-
void installTranslator(const QString &name);
void displayModInformation(
@@ -434,10 +432,9 @@ private slots:
void originModified(int originID);
- void addRemoveCategories_MenuHandler(int modIndex, const QModelIndex& rowIdx);
- void replaceCategories_MenuHandler(int modIndex);
-
- void addPrimaryCategoryCandidates(int modIndex);
+ void setPrimaryCategoryCandidates(QMenu* menu, ModInfo::Ptr info);
+ void addRemoveCategories_MenuHandler(QMenu* menu, int modIndex, const QModelIndex& rowIdx);
+ void replaceCategories_MenuHandler(QMenu* menu, int modIndex);
void modInstalled(const QString &modName);