diff options
Diffstat (limited to 'examples/imapresource/imapserverproxy.h')
-rw-r--r-- | examples/imapresource/imapserverproxy.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/imapresource/imapserverproxy.h b/examples/imapresource/imapserverproxy.h index 2d90f39..82f4f58 100644 --- a/examples/imapresource/imapserverproxy.h +++ b/examples/imapresource/imapserverproxy.h | |||
@@ -231,7 +231,12 @@ public: | |||
231 | return session; | 231 | return session; |
232 | } | 232 | } |
233 | } | 233 | } |
234 | return CachedSession{}; | 234 | return {}; |
235 | } | ||
236 | |||
237 | bool isEmpty() const | ||
238 | { | ||
239 | return mSessions.isEmpty(); | ||
235 | } | 240 | } |
236 | private: | 241 | private: |
237 | QList<CachedSession> mSessions; | 242 | QList<CachedSession> mSessions; |