From 4c6eca67f4e23277093070196ac707b7f4b0d0c6 Mon Sep 17 00:00:00 2001 From: Konrad Rosenbaum Date: Sun, 19 Jan 2014 19:56:35 +0100 Subject: [PATCH] actually move barcode signal to barcode lines --- plugins/bcs-usb/bcs-plugin.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) 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); } -- 1.7.2.5