summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2015-11-25 20:40:34 +0000
committerThomas Tanner <trtanner@btinternet.com>2015-11-25 20:40:34 +0000
commit29dadf52f1c217ddee7ef9e0873cb4e12797318b (patch)
tree6a56923ae608f114b93cfcf67b668fba3de34245
parent38c5899fef2f21561a00bd5b1df3eff8577ec986 (diff)
Forgot to remove the redundant member
-rw-r--r--src/mainwindow.cpp2
-rw-r--r--src/nexusinterface.cpp1
-rw-r--r--src/nexusinterface.h1
3 files changed, 1 insertions, 3 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index f3ffdf6c..2d90d5b8 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -3814,7 +3814,7 @@ 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?
+ //Why pass an empty variant if we're toggling an endorsement?
NexusInterface::instance()->requestToggleEndorsement(
m_OrganizerCore.managedGame()->getNexusModOrganizerID(), true, this, QVariant(), "");
}
diff --git a/src/nexusinterface.cpp b/src/nexusinterface.cpp
index cbb9ad48..078ca29d 100644
--- a/src/nexusinterface.cpp
+++ b/src/nexusinterface.cpp
@@ -37,7 +37,6 @@ using namespace MOShared;
NexusBridge::NexusBridge(const QString &subModule)
: m_Interface(NexusInterface::instance())
- , m_Url() //Lazily initialised (but redundant)
, m_SubModule(subModule)
{
}
diff --git a/src/nexusinterface.h b/src/nexusinterface.h
index 9f129510..091b5446 100644
--- a/src/nexusinterface.h
+++ b/src/nexusinterface.h
@@ -110,7 +110,6 @@ public slots:
private:
NexusInterface *m_Interface;
- QString m_Url;
QString m_SubModule;
std::set<int> m_RequestIDs;