mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-03 17:39:49 +00:00
refactor: misc fixes
This commit is contained in:
parent
57b0be6ef2
commit
afbbeee44f
8 changed files with 6 additions and 13 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include "WindowManager.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QDialogButtonBox>
|
||||
#include <QInputDialog>
|
||||
#include <QMessageBox>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
#include <QTreeView>
|
||||
#include <QKeyEvent>
|
||||
#include <QApplication>
|
||||
#include <QClipboard>
|
||||
|
||||
class SubaddressView : public QTreeView
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include <QApplication>
|
||||
#include <QMessageBox>
|
||||
#include <QtNetwork>
|
||||
#include <QClipboard>
|
||||
#include <QDesktopServices>
|
||||
#include <QPushButton>
|
||||
#include <QFontDatabase>
|
||||
#include <QTcpSocket>
|
||||
|
||||
#include "constants.h"
|
||||
#include "networktype.h"
|
||||
|
@ -25,7 +26,7 @@ bool fileExists(const QString &path) {
|
|||
QByteArray fileOpen(const QString &path) {
|
||||
QFile file(path);
|
||||
if (!file.open(QFile::ReadOnly | QFile::Text)) {
|
||||
return QByteArray();
|
||||
return {};
|
||||
}
|
||||
|
||||
QByteArray data = file.readAll();
|
||||
|
@ -37,7 +38,7 @@ QByteArray fileOpenQRC(const QString &path) {
|
|||
QFile file(path);
|
||||
if (!file.open(QIODevice::ReadOnly)) {
|
||||
qDebug() << "error: " << file.errorString();
|
||||
return QByteArray();
|
||||
return {};
|
||||
}
|
||||
|
||||
QByteArray data = file.readAll();
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
#include <QRegularExpression>
|
||||
#include <QStandardItemModel>
|
||||
#include <QApplication>
|
||||
#include <QTextCharFormat>
|
||||
|
||||
#include "libwalletqt/Wallet.h"
|
||||
|
|
|
@ -6,9 +6,7 @@
|
|||
|
||||
#include <QTimer>
|
||||
#include <QRegularExpression>
|
||||
#include <QApplication>
|
||||
#include <QtNetwork>
|
||||
#include <QNetworkReply>
|
||||
#include <QHostAddress>
|
||||
|
||||
#include "model/NodeModel.h"
|
||||
#include "utils/Utils.h"
|
||||
|
|
|
@ -4,9 +4,6 @@
|
|||
#ifndef TAILSOS_H
|
||||
#define TAILSOS_H
|
||||
|
||||
#include <QApplication>
|
||||
|
||||
|
||||
class TailsOS
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -53,7 +53,6 @@
|
|||
#include <QKeyEvent>
|
||||
#include <QAbstractItemView>
|
||||
#include <QtDebug>
|
||||
#include <QApplication>
|
||||
#include <QScrollBar>
|
||||
#include <QFile>
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#include <QClipboard>
|
||||
#include <QMimeData>
|
||||
#include <QScrollBar>
|
||||
#include <QtGlobal>
|
||||
|
||||
#include "libwalletqt/WalletManager.h"
|
||||
#include "qrcode/QrCodeUtils.h"
|
||||
|
|
Loading…
Reference in a new issue