diff options
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(); |