summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2013-12-04 19:54:28 +0100
committerTannin <devnull@localhost>2013-12-04 19:54:28 +0100
commit0e90b9d233eb3ae8276f6f8bfc4612c117544404 (patch)
tree66b2359e96f4aed63abddf6474fab57a6f729dc8 /src
parent0e19c847229fdabf9f178a51eb0e5c1a7ae91a70 (diff)
- bugfix: changing nexus id directly via mod list did not cause the change to be saved
Diffstat (limited to 'src')
-rw-r--r--src/modinfo.cpp7
-rw-r--r--src/modinfo.h2
-rw-r--r--src/selfupdater.cpp1
3 files changed, 9 insertions, 1 deletions
diff --git a/src/modinfo.cpp b/src/modinfo.cpp
index f436eba8..6569f897 100644
--- a/src/modinfo.cpp
+++ b/src/modinfo.cpp
@@ -541,6 +541,13 @@ bool ModInfoRegular::setName(const QString &name)
void ModInfoRegular::setNotes(const QString &notes)
{
m_Notes = notes;
+ m_MetaInfoChanged = true;
+}
+
+void ModInfoRegular::setNexusID(int modID)
+{
+ m_NexusID = modID;
+ m_MetaInfoChanged = true;
}
void ModInfoRegular::setVersion(const VersionInfo &version)
diff --git a/src/modinfo.h b/src/modinfo.h
index 6de0275b..677d8a82 100644
--- a/src/modinfo.h
+++ b/src/modinfo.h
@@ -570,7 +570,7 @@ public:
*
* @param modID the nexus mod id
**/
- void setNexusID(int modID) { m_NexusID = modID; }
+ void setNexusID(int modID);
/**
* @brief set the version of this mod
diff --git a/src/selfupdater.cpp b/src/selfupdater.cpp
index bdace814..2a9ca893 100644
--- a/src/selfupdater.cpp
+++ b/src/selfupdater.cpp
@@ -436,6 +436,7 @@ void SelfUpdater::nxmRequestFailed(int, QVariant, int requestID, const QString &
QTimer::singleShot(60000, this, SLOT(testForUpdate()));
--m_Attempts;
} else {
+ qWarning("Failed to retrieve update information: %s", qPrintable(errorMessage));
MessageDialog::showMessage(tr("Failed to retrieve update information: %1").arg(errorMessage), m_Parent);
}
}