On Monday, 2012-05-07, N.A.Y. wrote:
> I'm writing a program for Razor-Qt and want to use standard icons like *
> edit-undo*, *edit-cut*, *application-exit*, etc. But *oxygen* icons theme
> isn't loaded in Razor-Qt just in KDE or Gnome. My program loads
> *hicolor*icon theme. I found the way: I load *~/.config/razor/razor.conf*
> and read *icon_theme* parameter, but this is a hack. I cannot use this
> method for other Qt applications. A want to use some standard method.
Doesn't QIcon::fromTheme() handle this?
Cheers,
Kevin
--
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring