exporting/importing config keys? plus: Mandelbrot news
Aaron J. Seigo
aseigo at kde.org
Mon Mar 15 18:52:31 CET 2010
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
More information about the Plasma-devel
mailing list