diff options
| author | xiphon <xiphon@protonmail.com> | 2020-12-21 19:58:27 +0000 |
|---|---|---|
| committer | xiphon <xiphon@protonmail.com> | 2020-12-23 15:08:42 +0000 |
| commit | 8d4cda030e445d2b64cc327af125b538e014ecb0 (patch) | |
| tree | 846a62bdd48dde1e5eb636b7e127ab1bfe3153ef /src/QR-Code-scanner/QrCodeScanner.cpp | |
| parent | df771470c28c1efbb5402a755da0ab0dffaecd5f (diff) | |
| download | monzero-gui-8d4cda030e445d2b64cc327af125b538e014ecb0.tar.gz monzero-gui-8d4cda030e445d2b64cc327af125b538e014ecb0.tar.xz monzero-gui-8d4cda030e445d2b64cc327af125b538e014ecb0.zip | |
QR-Code-scanner: integrate QUIRC library, implement QrDecoder, drop ZBar
Diffstat (limited to 'src/QR-Code-scanner/QrCodeScanner.cpp')
| -rw-r--r-- | src/QR-Code-scanner/QrCodeScanner.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/QR-Code-scanner/QrCodeScanner.cpp b/src/QR-Code-scanner/QrCodeScanner.cpp index 55e396fe..2e8bde9f 100644 --- a/src/QR-Code-scanner/QrCodeScanner.cpp +++ b/src/QR-Code-scanner/QrCodeScanner.cpp @@ -27,7 +27,6 @@ // THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "QrCodeScanner.h" -#include <WalletManager.h> #include <QVideoProbe> #include <QCamera> @@ -40,7 +39,7 @@ QrCodeScanner::QrCodeScanner(QObject *parent) m_probe = new QVideoProbe(this); m_thread = new QrScanThread(this); m_thread->start(); - QObject::connect(m_thread, SIGNAL(decoded(int, QString)), this, SIGNAL(decoded(int, QString))); + QObject::connect(m_thread, SIGNAL(decoded(QString)), this, SIGNAL(decoded(QString))); QObject::connect(m_thread, SIGNAL(notifyError(const QString &, bool)), this, SIGNAL(notifyError(const QString &, bool))); connect(m_probe, SIGNAL(videoFrameProbed(QVideoFrame)), this, SLOT(processFrame(QVideoFrame))); } |
