[HORUS] Arbitrary limit for themes / layouts / widgets now removed

This commit is contained in:
Bertrand Songis
2016-12-17 23:33:47 +01:00
parent bce42bb25c
commit 66fb949c82
6 changed files with 6 additions and 15 deletions
+2 -4
View File
@@ -28,10 +28,8 @@ std::list<const WidgetFactory *> & getRegisteredWidgets()
void registerWidget(const WidgetFactory * factory)
{
if (getRegisteredWidgets().size() < MAX_REGISTERED_WIDGETS) {
TRACE("register widget %s", factory->getName());
getRegisteredWidgets().push_back(factory);
}
TRACE("register widget %s", factory->getName());
getRegisteredWidgets().push_back(factory);
}
const WidgetFactory * getWidgetFactory(const char * name)