https://bugs.kde.org/show_bug.cgi?id=259082
--- Comment #2 from Volker Krause <vkrause kde org> 2010-12-10 09:10:17 --- The patch looks like the right approach, but you are modifying a temporary copy of the collection (Akonadi::Collection is implicitly shared), so the ItemModifyJob will not actually change anything. Try something like: Akonadi::Collection trash = m_ui->folderRequester->collection(); Akonadi::EntityDisplayAttribute *attribute = trash.attribute<Akonadi::EntityDisplayAttribute>( Akonadi::Entity::AddIfMissing ); attribute->setIconName( QLatin1String( "user-trash" ) ); new Akonadi::CollectionModifyJob( trash ); (Akonadi::Job sub-classes are auto-started, so no need to explicitly call start() btw). -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Kdepim-bugs mailing list Kdepim-bugs@kde.org https://mail.kde.org/mailman/listinfo/kdepim-bugs