actually move barcode signal to barcode lines
authorKonrad Rosenbaum <konrad@silmor.de>
Sun, 19 Jan 2014 18:56:35 +0000 (19:56 +0100)
committerKonrad Rosenbaum <konrad@silmor.de>
Sun, 19 Jan 2014 18:56:35 +0000 (19:56 +0100)
plugins/bcs-usb/bcs-plugin.cpp

index 286c4af..0cf921d 100644 (file)
@@ -118,6 +118,8 @@ void MHidBarcodePlugin::detectScanners()
                 scanner=new MHidBarcodeScanner(dev->path,cfg.group);
                 mscanners.append(scanner);
                 connect(scanner,SIGNAL(destroyed(QObject*)),this,SLOT(removeScanner(QObject*)));
+                //register with parent
+                registerScanner(scanner);
         }
         hid_free_enumeration(info);
 }