diff options
-rw-r--r-- | common/resourceaccess.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/resourceaccess.cpp b/common/resourceaccess.cpp index 95b4a7e..6b2ddfd 100644 --- a/common/resourceaccess.cpp +++ b/common/resourceaccess.cpp | |||
@@ -581,6 +581,10 @@ bool ResourceAccess::processMessageBuffer() | |||
581 | queuedInvoke([=]() { emit notification(n); }, this); | 581 | queuedInvoke([=]() { emit notification(n); }, this); |
582 | } break; | 582 | } break; |
583 | case Sink::Notification::Status: | 583 | case Sink::Notification::Status: |
584 | if (mResourceStatus == buffer->code()) { | ||
585 | Trace() << "Got an unnecessary status notification"; | ||
586 | break; | ||
587 | } | ||
584 | mResourceStatus = buffer->code(); | 588 | mResourceStatus = buffer->code(); |
585 | [[clang::fallthrough]]; | 589 | [[clang::fallthrough]]; |
586 | case Sink::Notification::Warning: | 590 | case Sink::Notification::Warning: |