diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-05-20 15:02:18 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-05-20 15:02:18 +0200 |
commit | 5c7e7be2ead6dedaa5f058b016558924388b127c (patch) | |
tree | 9740e94df3832e8d5fba70d1606eafd14cddcef1 /examples/maildirresource/maildirresource.cpp | |
parent | 755b05aa100c118b65228cc0c3561db426a5ba74 (diff) | |
download | sink-5c7e7be2ead6dedaa5f058b016558924388b127c.tar.gz sink-5c7e7be2ead6dedaa5f058b016558924388b127c.zip |
Set the actual icon passed in
Diffstat (limited to 'examples/maildirresource/maildirresource.cpp')
-rw-r--r-- | examples/maildirresource/maildirresource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/maildirresource/maildirresource.cpp b/examples/maildirresource/maildirresource.cpp index 3b0c427..42da667 100644 --- a/examples/maildirresource/maildirresource.cpp +++ b/examples/maildirresource/maildirresource.cpp | |||
@@ -230,7 +230,7 @@ QByteArray MaildirResource::createFolder(const QString &folderPath, const QByteA | |||
230 | KPIM::Maildir md(folderPath, folderPath == mMaildirPath); | 230 | KPIM::Maildir md(folderPath, folderPath == mMaildirPath); |
231 | Sink::ApplicationDomain::Folder folder; | 231 | Sink::ApplicationDomain::Folder folder; |
232 | folder.setProperty("name", md.name()); | 232 | folder.setProperty("name", md.name()); |
233 | folder.setProperty("icon", "folder"); | 233 | folder.setProperty("icon", icon); |
234 | 234 | ||
235 | if (!md.isRoot()) { | 235 | if (!md.isRoot()) { |
236 | folder.setProperty("parent", resolveRemoteId(ENTITY_TYPE_FOLDER, md.parent().path().toUtf8(), synchronizationTransaction)); | 236 | folder.setProperty("parent", resolveRemoteId(ENTITY_TYPE_FOLDER, md.parent().path().toUtf8(), synchronizationTransaction)); |