diff options
| author | Emmanuel Pescosta <[email protected]> | 2014-01-16 12:55:42 +0100 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2014-01-16 12:55:42 +0100 |
| commit | 419c7578f0ffec27737deafd2abd9d1356095216 (patch) | |
| tree | 8cbf423f291dfe9d510e82d4c89b330faf4c0b57 /src/views/versioncontrol/versioncontrolobserver.cpp | |
| parent | 8a46dd8d8e2374fda5a27d2079ef30722ee08000 (diff) | |
Remove the "retrieved items" code from UpdateItemStatesThread and VersionControlObserver.
Showing an error message, makes no sense in this case - the user can see it when all items are "unversioned".
The plugins still have the ability to show error/warning messages on real errors. (and only where it makes sense ;)
REVIEW: 114992
FIXED-IN: 4.13
Diffstat (limited to 'src/views/versioncontrol/versioncontrolobserver.cpp')
| -rw-r--r-- | src/views/versioncontrol/versioncontrolobserver.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/views/versioncontrol/versioncontrolobserver.cpp b/src/views/versioncontrol/versioncontrolobserver.cpp index c542542ee..888d93461 100644 --- a/src/views/versioncontrol/versioncontrolobserver.cpp +++ b/src/views/versioncontrol/versioncontrolobserver.cpp @@ -198,12 +198,6 @@ void VersionControlObserver::slotThreadFinished() return; } - if (!thread->retrievedItems()) { - // Ignore m_silentUpdate for an error message - emit errorMessage(i18nc("@info:status", "Update of version information failed.")); - return; - } - const QMap<QString, QVector<ItemState> >& itemStates = thread->itemStates(); QMap<QString, QVector<ItemState> >::const_iterator it = itemStates.constBegin(); for (; it != itemStates.constEnd(); ++it) { |
