mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-23 03:59:29 +00:00
refactor: merge qrcode directories
This commit is contained in:
parent
2c5583c398
commit
ba826c7705
15 changed files with 7 additions and 9 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue