Load class TellStick for TellStick Duo also
This commit is contained in:
parent
0ebdba4dbc
commit
9095ba6090
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue