Browse Source

refactor(chat): cleanup document cache

pull/3502/head
Nils Fenner 9 years ago
parent
commit
b204d0abad
No known key found for this signature in database
GPG Key ID: 9591A163FF9BE04C
  1. 6
      src/chatlog/documentcache.h

6
src/chatlog/documentcache.h

@ -27,14 +27,14 @@ class QTextDocument; @@ -27,14 +27,14 @@ class QTextDocument;
class DocumentCache
{
public:
~DocumentCache();
static DocumentCache& getInstance();
QTextDocument* pop();
void push(QTextDocument* doc);
protected:
DocumentCache() {}
private:
DocumentCache() = default;
~DocumentCache();
DocumentCache(DocumentCache&) = delete;
DocumentCache& operator=(const DocumentCache&) = delete;

Loading…
Cancel
Save