mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 07:11:29 +02:00
refactor: merge qrcode directories
This commit is contained in:
+4
-6
@@ -65,8 +65,6 @@ file(GLOB SOURCE_FILES
|
||||
"polyseed/*.h"
|
||||
"polyseed/*.cpp"
|
||||
"polyseed/*.c"
|
||||
"qrcode_utils/QrCodeUtils.cpp"
|
||||
"qrcode_utils/QrCodeUtils.h"
|
||||
"monero_seed/argon2/blake2/*.c"
|
||||
"monero_seed/argon2/*.c"
|
||||
"monero_seed/*.cpp"
|
||||
@@ -78,14 +76,14 @@ file(GLOB SOURCE_FILES
|
||||
|
||||
if (WITH_SCANNER AND NOT Qt6_FOUND)
|
||||
file(GLOB SCANNER_FILES
|
||||
"qrcode_scanner/*.h"
|
||||
"qrcode_scanner/*.cpp")
|
||||
"qrcode/scanner/*.h"
|
||||
"qrcode/scanner/*.cpp")
|
||||
endif()
|
||||
|
||||
if (WITH_SCANNER AND Qt6_FOUND)
|
||||
file(GLOB SCANNER_FILES
|
||||
"qrcode_scanner_qt6/*.h"
|
||||
"qrcode_scanner_qt6/*.cpp")
|
||||
"qrcode/scanner_qt6/*.h"
|
||||
"qrcode/scanner_qt6/*.cpp")
|
||||
endif()
|
||||
|
||||
list(APPEND SOURCE_FILES
|
||||
|
||||
+2
-2
@@ -14,10 +14,10 @@
|
||||
#include "libwalletqt/WalletManager.h"
|
||||
|
||||
#if defined(WITH_SCANNER) && QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||
#include "qrcode_scanner/QrCodeScanDialog.h"
|
||||
#include "qrcode/scanner/QrCodeScanDialog.h"
|
||||
#include <QtMultimedia/QCameraInfo>
|
||||
#elif defined(WITH_SCANNER)
|
||||
#include "qrcode_scanner_qt6/QrCodeScanDialog.h"
|
||||
#include "qrcode/scanner_qt6//QrCodeScanDialog.h"
|
||||
#include <QMediaDevices>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include <QtGlobal>
|
||||
|
||||
#include "libwalletqt/WalletManager.h"
|
||||
#include "qrcode_utils/QrCodeUtils.h"
|
||||
#include "qrcode/QrCodeUtils.h"
|
||||
#include "utils/Utils.h"
|
||||
|
||||
PayToEdit::PayToEdit(QWidget *parent) : QPlainTextEdit(parent)
|
||||
|
||||
Reference in New Issue
Block a user