summaryrefslogtreecommitdiffstats
path: root/common/resourceaccess.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/resourceaccess.cpp')
-rw-r--r--common/resourceaccess.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/resourceaccess.cpp b/common/resourceaccess.cpp
index dd862c8..daa2e82 100644
--- a/common/resourceaccess.cpp
+++ b/common/resourceaccess.cpp
@@ -528,6 +528,9 @@ bool ResourceAccess::processMessageBuffer()
528 case Commands::RevisionUpdateCommand: { 528 case Commands::RevisionUpdateCommand: {
529 auto buffer = Commands::GetRevisionUpdate(d->partialMessageBuffer.constData() + headerSize); 529 auto buffer = Commands::GetRevisionUpdate(d->partialMessageBuffer.constData() + headerSize);
530 Log() << QString("Revision updated to: %1").arg(buffer->revision()); 530 Log() << QString("Revision updated to: %1").arg(buffer->revision());
531 Notification n;
532 n.type = Sink::Commands::NotificationType::NotificationType_RevisionUpdate;
533 emit notification(n);
531 emit revisionChanged(buffer->revision()); 534 emit revisionChanged(buffer->revision());
532 535
533 break; 536 break;
@@ -572,6 +575,7 @@ bool ResourceAccess::processMessageBuffer()
572 case Sink::Commands::NotificationType::NotificationType_Status: 575 case Sink::Commands::NotificationType::NotificationType_Status:
573 case Sink::Commands::NotificationType::NotificationType_Warning: 576 case Sink::Commands::NotificationType::NotificationType_Warning:
574 case Sink::Commands::NotificationType::NotificationType_Progress: 577 case Sink::Commands::NotificationType::NotificationType_Progress:
578 case Sink::Commands::NotificationType::NotificationType_RevisionUpdate:
575 default: 579 default:
576 Warning() << "Received unknown notification: " << buffer->type(); 580 Warning() << "Received unknown notification: " << buffer->type();
577 break; 581 break;