diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-08-25 18:21:15 -0600 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-08-25 18:21:15 -0600 |
commit | ea75d4bdba79d2a879c2ed31564928d4ef3cd9b1 (patch) | |
tree | 468831622a6924b00df160b228733803c29032a7 /common/resourceaccess.cpp | |
parent | 8e14799f43ea51a6d9f195c56ca4f0c0439d4039 (diff) | |
download | sink-ea75d4bdba79d2a879c2ed31564928d4ef3cd9b1.tar.gz sink-ea75d4bdba79d2a879c2ed31564928d4ef3cd9b1.zip |
Default to NoStatus for resources until we know more.
This allows the aggregation to ignore resources where we don't have any
status information yet, so the account doesn't always end up being
offline.
Diffstat (limited to 'common/resourceaccess.cpp')
-rw-r--r-- | common/resourceaccess.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/resourceaccess.cpp b/common/resourceaccess.cpp index 808d892..35fa46c 100644 --- a/common/resourceaccess.cpp +++ b/common/resourceaccess.cpp | |||
@@ -232,7 +232,7 @@ KAsync::Job<void> ResourceAccess::Private::initializeSocket() | |||
232 | ResourceAccess::ResourceAccess(const QByteArray &resourceInstanceIdentifier, const QByteArray &resourceType) | 232 | ResourceAccess::ResourceAccess(const QByteArray &resourceInstanceIdentifier, const QByteArray &resourceType) |
233 | : ResourceAccessInterface(), d(new Private(resourceType, resourceInstanceIdentifier, this)) | 233 | : ResourceAccessInterface(), d(new Private(resourceType, resourceInstanceIdentifier, this)) |
234 | { | 234 | { |
235 | mResourceStatus = Sink::ApplicationDomain::OfflineStatus; | 235 | mResourceStatus = Sink::ApplicationDomain::NoStatus; |
236 | SinkTrace() << "Starting access"; | 236 | SinkTrace() << "Starting access"; |
237 | } | 237 | } |
238 | 238 | ||