fixed: do not query the addon state when asking the guiinfomanager for addon title...
authorvdrfan <vdrfan-nospam-@xbmc.org>
Sun, 17 Jun 2012 10:54:50 +0000 (12:54 +0200)
committermontellese <montellese@xbmc.org>
Sat, 7 Jul 2012 07:36:24 +0000 (09:36 +0200)
commit5c104987deae67c9196a881b4e9723931e8352b7
treedba22faea4edafda5b7016d887ab6ef881eadf7e
parent30e9f4580dba814807fa31c1fbdfa4d2c6bc7777
fixed: do not query the addon state when asking the guiinfomanager for addon title and/or icon

This commit removes tons of useless queries made from the mainloop when using addon shortcuts on
the home screen. As the infomanager is asked for the icon or title only, it's not needed to check
whether the addon is enabled or disabled all the time.
xbmc/GUIInfoManager.cpp