On March 13, 2010, Benoit Jacob wrote: > contextualActions().append(&m_exportImageAction); > contextualActions().append(&m_exportConfigAction); > contextualActions().append(&m_importConfigAction);
the append() is being called on a copy of the collection. as soon as you change the return value from contextualActions(), the internal data structure detatches from the original, shared one and copies the values over. so this obviously has no effect. what you are looking for is setContextualActions. -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Development Frameworks _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel