summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorJeremy Rimpo <jeremy.rimpo@servermonkey.com>2023-09-23 19:00:41 -0500
committerJeremy Rimpo <jeremy.rimpo@servermonkey.com>2023-09-23 19:00:41 -0500
commite22331fa0305d8a0a2b8b6d37203dac1ed3524e9 (patch)
tree3231affb718494c342fc6197bae2b784fde9fd21 /src/mainwindow.h
parent31a85a3db5fcb34b36dc6ed6f56a351a5dcb319a (diff)
Restructure category refresh action
- Remove plugins class - Route signals to run Nexus API call from MainWindow - Pass Dialog instance to route response data - Revert CategoryFactory::instance to return reference
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index eae50aa0..99feca83 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -283,7 +283,7 @@ private:
QAction* m_ContextAction;
- CategoryFactory* m_CategoryFactory;
+ CategoryFactory& m_CategoryFactory;
QTimer m_CheckBSATimer;
QTimer m_SaveMetaTimer;
@@ -363,6 +363,7 @@ private slots:
void importCategories(bool);
+ void refreshNexusCategories(CategoriesDialog* dialog);
void categoriesSaved();
// update info