diff options
| author | Tannin <devnull@localhost> | 2013-09-01 13:40:44 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2013-09-01 13:40:44 +0200 |
| commit | 1e6c5f7c25ddd2094e26e6af1159ec5912448705 (patch) | |
| tree | 83ff6e2fd35c1614f2e13ff22f0f7b8214ab042b /src/modinfo.cpp | |
| parent | 49e1dd23b699b499d9b715ef74cb7ca5b0189584 (diff) | |
- 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
Diffstat (limited to 'src/modinfo.cpp')
| -rw-r--r-- | src/modinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |
