From: Konrad Rosenbaum Date: Sun, 19 Jan 2014 18:56:35 +0000 (+0100) Subject: actually move barcode signal to barcode lines X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=4c6eca67f4e23277093070196ac707b7f4b0d0c6;p=web%2Fkonrad%2Fsmoke.git actually move barcode signal to barcode lines --- diff --git a/plugins/bcs-usb/bcs-plugin.cpp b/plugins/bcs-usb/bcs-plugin.cpp index 286c4af..0cf921d 100644 --- a/plugins/bcs-usb/bcs-plugin.cpp +++ b/plugins/bcs-usb/bcs-plugin.cpp @@ -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); }