Comment 13 for bug 1327614

Revision history for this message
Daniel Schürmann (daschuer) wrote :

Where does the segfault happen?
You may provide a backtrace.

gdb ./mixxx

> run
~ segfault here
> bt

----

I would prefer not to calculate the current skin over and over again in each Library feature for each getIcon() call
What about piping it thought
src/skin/legacyskinparser.cpp
Library::bindSidebarWidget
to SidebarModel

You may use
QIcon getIcon(QString skinPath)
then or move it to SidebarModel

Do you have a clue, how often getIcon() is called?
If it is called very often, you may consider to cache the Icon somewhere.