From 1e6c5f7c25ddd2094e26e6af1159ec5912448705 Mon Sep 17 00:00:00 2001 From: Tannin Date: Sun, 1 Sep 2013 13:40:44 +0200 Subject: - added a new column for not-yet-endorsed mods - set categories menu no longer closes when the mouse cursor leaves the menu - MO will no longer change the endorsement flag if an update doesn't contain it - the column selection for the mod list can now only be accessed by mouse, hotkeys open the context menu of the mod - now displaying a progress dialog during login. For unknown reasons MO hangs during that time --- src/modinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modinfo.cpp') diff --git a/src/modinfo.cpp b/src/modinfo.cpp index 5cae62be..8372af55 100644 --- a/src/modinfo.cpp +++ b/src/modinfo.cpp @@ -410,7 +410,7 @@ void ModInfoRegular::nxmDescriptionAvailable(int, QVariant, QVariant resultData) QVariantMap result = resultData.toMap(); m_NewestVersion.parse(result["version"].toString()); m_NexusDescription = result["description"].toString(); - if (m_EndorsedState != ENDORSED_NEVER) { + if ((m_EndorsedState != ENDORSED_NEVER) && (result.contains("voted_by_user"))) { m_EndorsedState = result["voted_by_user"].toBool() ? ENDORSED_TRUE : ENDORSED_FALSE; } m_LastNexusQuery = QDateTime::currentDateTime(); -- cgit v1.3.1