summaryrefslogtreecommitdiff
path: root/src/modinfodialogcategories.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-06-23 02:24:34 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-07-02 10:10:18 -0400
commit8d1c121f648f2f6a8e0a5e2ad76cd245e318290d (patch)
tree44aa8aee2685174615f33f999ca102179939d3e4 /src/modinfodialogcategories.h
parenta72573b385a941adf7d662b8df5c8e35309fdd45 (diff)
split nexus tab
added OrganizerCore::loggedInAction() to execute a function only when logged in, replaces a bunch of copy/pasted stuff in mainwindow moved common variables in ModInfoDialogTab moved DescriptionPage to modinfodialognexus.h, renamed to NexusTabWebpage, deleted now empty descriptionpage.h
Diffstat (limited to 'src/modinfodialogcategories.h')
-rw-r--r--src/modinfodialogcategories.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/modinfodialogcategories.h b/src/modinfodialogcategories.h
index c0644c7f..76426a5d 100644
--- a/src/modinfodialogcategories.h
+++ b/src/modinfodialogcategories.h
@@ -5,16 +5,14 @@ class CategoryFactory;
class CategoriesTab : public ModInfoDialogTab
{
public:
- CategoriesTab(QWidget* parent, Ui::ModInfoDialog* ui);
+ CategoriesTab(
+ OrganizerCore& oc, PluginContainer& plugin,
+ QWidget* parent, Ui::ModInfoDialog* ui);
void clear() override;
- void setMod(ModInfo::Ptr mod, MOShared::FilesOrigin* origin) override;
void update() override;
private:
- Ui::ModInfoDialog* ui;
- ModInfo::Ptr m_mod;
-
void add(
const CategoryFactory& factory, const std::set<int>& enabledCategories,
QTreeWidgetItem* root, int rootLevel);