summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2015-11-25 19:31:05 +0000
committerThomas Tanner <trtanner@btinternet.com>2015-11-25 19:31:05 +0000
commit38c5899fef2f21561a00bd5b1df3eff8577ec986 (patch)
treefddb56b11b86e450ea0a07de554ccde8dc7417e9 /src/mainwindow.cpp
parentb9b12ca765d1703ac2e3852746e7acc3a20949a9 (diff)
Replace GameInfo::getNexusInfoUrl with IPluginGame::getNexusManagementUrl
also added getNexusDisplayUrl for the other variant of getNexusPage Removed skyrim static versions note that Nexusinterface is now passed a game plugin rather than a URL and a game ID if you want to override the current game
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 05650219..f3ffdf6c 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -3814,8 +3814,9 @@ void MainWindow::on_actionEndorseMO_triggered()
if (QMessageBox::question(this, tr("Endorse Mod Organizer"),
tr("Do you want to endorse Mod Organizer on %1 now?").arg(ToQString(GameInfo::instance().getNexusPage())),
QMessageBox::Yes | QMessageBox::No) == QMessageBox::Yes) {
+ //Why pass an empty variant of we're toggling an endorsement?
NexusInterface::instance()->requestToggleEndorsement(
- m_OrganizerCore.managedGame()->getNexusModOrganizerID(), true, this, QVariant(), QString());
+ m_OrganizerCore.managedGame()->getNexusModOrganizerID(), true, this, QVariant(), "");
}
}