mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 20:45:51 +03:00
Handle all cases in switches.
This commit is contained in:
parent
3cf7003101
commit
4ba85311da
3 changed files with 8 additions and 1 deletions
|
@ -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 )
|
||||
|
||||
|
|
|
@ -311,6 +311,10 @@ void ServerActionNotifier::slotSyncFinished(const SyncResult &result)
|
|||
updatedItems++;
|
||||
if (firstItemUpdated.isEmpty())
|
||||
firstItemUpdated = item;
|
||||
break;
|
||||
default:
|
||||
// nothing.
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue