Load class TellStick for TellStick Duo also

This commit is contained in:
Micke Prag 2012-04-18 17:29:24 +02:00
parent 0ebdba4dbc
commit 9095ba6090

View file

@ -95,7 +95,7 @@ void ControllerList::controllerEventSlot(int controllerId, int changeEvent, int
}
Controller *ControllerList::loadController(int id, int type, const QString &name, QObject *parent) {
if (type == 1) {
if (type == 1 || type == 2) {
return new TellStick(id, type, "", parent);
}
return new Controller(id, type, "", parent);