[Qt-interest] Toolbar icons don't always appear
David Doria
daviddoria at gmail.com
Fri Aug 26 14:22:57 CEST 2011
I create the icons for my toolbar like this:
QIcon saveIcon = QIcon::fromTheme("document-save");
actionSaveImageLeft->setIcon(openIcon);
this->toolBar_left->addAction(actionSaveImageLeft);
Sometimes when I run the program, the icons appear correctly. Other times
when I run the program the icons are replaced by text. I can't seem to
figure out a pattern of when they work correctly and when they don't. Has
anyone ever seen this intermittent behavior before? Or can you suggest
anything to look for/keep an eye out for?
Thanks,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110826/f252933b/attachment.html
More information about the Qt-interest-old
mailing list