From 4342fe3ce16e1e14fb44cf2676e3887002f67ec4 Mon Sep 17 00:00:00 2001 From: Jeremy Rimpo Date: Mon, 18 Sep 2023 21:30:39 -0500 Subject: Several updates * No longer cause an error when deleting a category that's being used * Add a dialog when installing a mod with no Nexus mapping (if not disabled) * Allow disabling Nexus category mapping in Settings (Nexus tab) * Add context option to remove nexus mappings in the category editor * Some clang style fixes --- src/categoriesdialog.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/categoriesdialog.h') diff --git a/src/categoriesdialog.h b/src/categoriesdialog.h index a2bd7240..1bcf273c 100644 --- a/src/categoriesdialog.h +++ b/src/categoriesdialog.h @@ -20,9 +20,9 @@ along with Mod Organizer. If not, see . #ifndef CATEGORIESDIALOG_H #define CATEGORIESDIALOG_H -#include "tutorabledialog.h" #include "categories.h" #include "plugincontainer.h" +#include "tutorabledialog.h" #include namespace Ui @@ -54,7 +54,8 @@ public: public slots: void nxmGameInfoAvailable(QString gameName, QVariant, QVariant resultData, int); - void nxmRequestFailed(QString, int, int, QVariant, int, int errorCode, const QString& errorMessage); + void nxmRequestFailed(QString, int, int, QVariant, int, int errorCode, + const QString& errorMessage); signals: void refreshNexusCategories(); @@ -64,6 +65,7 @@ private slots: void on_categoriesTable_customContextMenuRequested(const QPoint& pos); void addCategory_clicked(); void removeCategory_clicked(); + void removeNexusMap_clicked(); void nexusRefresh_clicked(); void nexusImport_clicked(); void cellChanged(int row, int column); @@ -80,7 +82,6 @@ private: int m_HighestID; std::set m_IDs; std::vector m_NexusCategories; - }; #endif // CATEGORIESDIALOG_H -- cgit v1.3.1