diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-10-20 19:27:28 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-10-20 19:27:28 +0200 |
commit | 67d9cffe9c8c63a928e4f32b6c07adfea8f21084 (patch) | |
tree | b9e6cd8dd2ed6273a1435ec81e9a931d1fbe3a4a /common/listener.h | |
parent | b67ac4f7bad9abc30b99f60e87a1f1725057163b (diff) | |
download | sink-67d9cffe9c8c63a928e4f32b6c07adfea8f21084.tar.gz sink-67d9cffe9c8c63a928e4f32b6c07adfea8f21084.zip |
Use a null-resource object to avoid having to check the pointer
everytime
Diffstat (limited to 'common/listener.h')
-rw-r--r-- | common/listener.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/listener.h b/common/listener.h index 8f89d23..248a190 100644 --- a/common/listener.h +++ b/common/listener.h | |||
@@ -83,7 +83,7 @@ private: | |||
83 | bool processClientBuffer(Client &client); | 83 | bool processClientBuffer(Client &client); |
84 | void sendCommandCompleted(QLocalSocket *socket, uint messageId); | 84 | void sendCommandCompleted(QLocalSocket *socket, uint messageId); |
85 | void updateClientsWithRevision(qint64); | 85 | void updateClientsWithRevision(qint64); |
86 | void loadResource(); | 86 | Akonadi2::Resource *loadResource(); |
87 | void readFromSocket(QLocalSocket *socket); | 87 | void readFromSocket(QLocalSocket *socket); |
88 | qint64 lowerBoundRevision(); | 88 | qint64 lowerBoundRevision(); |
89 | 89 | ||