diff options
| author | Jeremy Rimpo <jeremy.rimpo@servermonkey.com> | 2021-12-24 17:54:55 -0600 |
|---|---|---|
| committer | Jeremy Rimpo <jeremy.rimpo@servermonkey.com> | 2023-09-21 17:24:57 -0500 |
| commit | b9f05672b9692c96d39b8ff27e571a30cb82cd44 (patch) | |
| tree | bc70062f89132142c6d513ed3dffe902f10b3caf /src/categoriesdialog.cpp | |
| parent | 535623693e63569f485c15984274ea65c4d0c872 (diff) | |
Allow remapping category from context menu
Diffstat (limited to 'src/categoriesdialog.cpp')
| -rw-r--r-- | src/categoriesdialog.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/categoriesdialog.cpp b/src/categoriesdialog.cpp index 4019f197..92afda60 100644 --- a/src/categoriesdialog.cpp +++ b/src/categoriesdialog.cpp @@ -23,6 +23,7 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #include "ui_categoriesdialog.h" #include "utility.h" #include "nexusinterface.h" +#include "messagedialog.h" #include <QItemDelegate> #include <QLineEdit> #include <QMenu> @@ -321,6 +322,12 @@ void CategoriesDialog::nxmGameInfoAvailable(QString gameName, QVariant, QVariant } +void CategoriesDialog::nxmRequestFailed(QString, int, int, QVariant, int, int errorCode, const QString& errorMessage) +{ + MessageDialog::showMessage(tr("Error %1: Request to Nexus failed: %2").arg(errorCode).arg(errorMessage), this); +} + + void CategoriesDialog::on_categoriesTable_customContextMenuRequested(const QPoint& pos) { m_ContextRow = ui->categoriesTable->rowAt(pos.y()); |
