diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-10-21 15:02:02 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-10-21 15:03:11 +0200 |
commit | 59753ee27638eecd7869f2160de65bec07bfdd00 (patch) | |
tree | d7c9ecc83738c11b447e8728ca30110ec76febc3 /examples/client/main.cpp | |
parent | 12cc3f612c3ebe9522f98c808f9d7115d8e222ce (diff) | |
download | sink-59753ee27638eecd7869f2160de65bec07bfdd00.tar.gz sink-59753ee27638eecd7869f2160de65bec07bfdd00.zip |
Finished ListResultModel implementation.
Diffstat (limited to 'examples/client/main.cpp')
-rw-r--r-- | examples/client/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/client/main.cpp b/examples/client/main.cpp index 6bbec97..7ab5d30 100644 --- a/examples/client/main.cpp +++ b/examples/client/main.cpp | |||
@@ -121,7 +121,7 @@ int main(int argc, char *argv[]) | |||
121 | query.processAll = false; | 121 | query.processAll = false; |
122 | query.liveQuery = true; | 122 | query.liveQuery = true; |
123 | 123 | ||
124 | auto model = QSharedPointer<ListModelResult<Akonadi2::ApplicationDomain::Event::Ptr> >::create(Akonadi2::Store::load<Akonadi2::ApplicationDomain::Event>(query), "summary"); | 124 | auto model = QSharedPointer<ListModelResult<Akonadi2::ApplicationDomain::Event::Ptr> >::create(Akonadi2::Store::load<Akonadi2::ApplicationDomain::Event>(query), QList<QByteArray>() << "summary" << "uid"); |
125 | auto view = QSharedPointer<View<Akonadi2::ApplicationDomain::Event> >::create(model.data()); | 125 | auto view = QSharedPointer<View<Akonadi2::ApplicationDomain::Event> >::create(model.data()); |
126 | 126 | ||
127 | return app.exec(); | 127 | return app.exec(); |