diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-02-08 23:40:49 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-02-08 23:41:07 +0100 |
commit | 9f548500214925cd0075fd2434afd116618d7196 (patch) | |
tree | df3cc604a2a602f61a66548eb5c5bfb3e62aa55d /framework/domain/maillistmodel.h | |
parent | 7c291e282099d90cd87caab2ad610710ae28523d (diff) | |
download | kube-9f548500214925cd0075fd2434afd116618d7196.tar.gz kube-9f548500214925cd0075fd2434afd116618d7196.zip |
Fetch the mail when trying to access the content.
That way we can try to only fetch the content for messages that are
actually shown.
Diffstat (limited to 'framework/domain/maillistmodel.h')
-rw-r--r-- | framework/domain/maillistmodel.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/framework/domain/maillistmodel.h b/framework/domain/maillistmodel.h index faed9edf..dbb24a4d 100644 --- a/framework/domain/maillistmodel.h +++ b/framework/domain/maillistmodel.h | |||
@@ -68,8 +68,6 @@ public: | |||
68 | 68 | ||
69 | void setMail(const QVariant &mail); | 69 | void setMail(const QVariant &mail); |
70 | QVariant mail() const; | 70 | QVariant mail() const; |
71 | private slots: | ||
72 | void onRowsInserted(const QModelIndex &idx, int, int); | ||
73 | 71 | ||
74 | private: | 72 | private: |
75 | QSharedPointer<QAbstractItemModel> m_model; | 73 | QSharedPointer<QAbstractItemModel> m_model; |