summaryrefslogtreecommitdiff
path: root/src/categoriesdialog.h
diff options
context:
space:
mode:
authorJeremy Rimpo <jeremy.rimpo@servermonkey.com>2023-09-18 21:30:39 -0500
committerJeremy Rimpo <jeremy.rimpo@servermonkey.com>2023-09-21 17:32:37 -0500
commit4342fe3ce16e1e14fb44cf2676e3887002f67ec4 (patch)
tree8f22dc173c52e7cfb181875011d18748d924be07 /src/categoriesdialog.h
parent6dfe55f444bbe59899b583a5c795714bf50e91f7 (diff)
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
Diffstat (limited to 'src/categoriesdialog.h')
-rw-r--r--src/categoriesdialog.h7
1 files changed, 4 insertions, 3 deletions
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 <http://www.gnu.org/licenses/>.
#ifndef CATEGORIESDIALOG_H
#define CATEGORIESDIALOG_H
-#include "tutorabledialog.h"
#include "categories.h"
#include "plugincontainer.h"
+#include "tutorabledialog.h"
#include <set>
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<int> m_IDs;
std::vector<CategoryFactory::NexusCategory> m_NexusCategories;
-
};
#endif // CATEGORIESDIALOG_H