Handle all cases in switches.

This commit is contained in:
Klaas Freitag 2013-02-21 13:36:33 +01:00
parent 3cf7003101
commit 4ba85311da
3 changed files with 8 additions and 1 deletions

View file

@ -1,6 +1,6 @@
set( VERSION_MAJOR 1 )
set( VERSION_MINOR 2 )
set( VERSION_PATCH 1 )
set( VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}pre${VERSION_SUFFIX})
set( VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}RC1${VERSION_SUFFIX})
set( SOVERSION 0 )

View file

@ -311,6 +311,10 @@ void ServerActionNotifier::slotSyncFinished(const SyncResult &result)
updatedItems++;
if (firstItemUpdated.isEmpty())
firstItemUpdated = item;
break;
default:
// nothing.
break;
}
}
}

View file

@ -58,6 +58,9 @@ QString SyncResult::statusString() const
case SetupError:
re = QLatin1String("SetupError");
break;
case SyncPrepare:
re = QLatin1String("SyncPrepare");
break;
case Unavailable:
re = QLatin1String("Not availabe");
break;