← Back to team overview

qpdfview team mailing list archive

Re: [Question #228974]: Implementing desktop icons

 

Question #228974 on qpdfview changed:
https://answers.launchpad.net/qpdfview/+question/228974

Adam Reichold posted a new comment:
Hello Richard,

if by that you mean where in qpdfview the icon theme is requested, this
e.g. is lines 92 to 95 in "mainwindow.cpp" using the settings proxy
defined in "settings.{h,cpp}". But basically, it comes down to calling
"QIcon::setThemeName(QString)" with a name that is obtained via explicit
configuration or by parsing the configuration files of the desktop
environment or window manager in question. Hope this helps...

Best regards, Adam.

P.S.: Of course, I think improving the icon theme detection in Qt would
be the best way forward as all Qt-only application would benefit from
this.

-- 
You received this question notification because you are a member of
qpdfview, which is an answer contact for qpdfview.