mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 13:25:52 +03:00
Show a bubble if the quota was exceeded.
This commit is contained in:
parent
395c673a24
commit
367c4153c1
1 changed files with 4 additions and 2 deletions
|
@ -283,9 +283,13 @@ void Folder::bubbleUpSyncResult()
|
|||
SyncFileItem firstItemDeleted;
|
||||
SyncFileItem firstItemUpdated;
|
||||
|
||||
Logger *logger = Logger::instance();
|
||||
|
||||
foreach (const SyncFileItem &item, _syncResult.syncFileItemVector() ) {
|
||||
if( item._instruction == CSYNC_INSTRUCTION_ERROR ) {
|
||||
slotCSyncError( tr("File %1: %2").arg(item._file).arg(item._errorString) );
|
||||
logger->postGuiLog(tr("File %1").arg(item._file), item._errorString);
|
||||
|
||||
} else {
|
||||
if (item._dir == SyncFileItem::Down) {
|
||||
switch (item._instruction) {
|
||||
|
@ -321,8 +325,6 @@ void Folder::bubbleUpSyncResult()
|
|||
|
||||
_syncResult.setWarnCount(ignoredItems);
|
||||
|
||||
Logger *logger = Logger::instance();
|
||||
|
||||
qDebug() << "OO folder slotSyncFinished: result: " << int(_syncResult.status());
|
||||
if (newItems > 0) {
|
||||
QString file = QDir::toNativeSeparators(firstItemNew._file);
|
||||
|
|
Loading…
Reference in a new issue