Skip to content

Commit 8d1477e

Browse files
committed
Merge pull request #4586
f65352a [Qt] small Qt-only include cleanup (Philip Kaufmann)
2 parents 3955c39 + f65352a commit 8d1477e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/qt/optionsdialog.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
#include "optionsmodel.h"
1616

1717
#include "main.h" // for MAX_SCRIPTCHECK_THREADS
18+
#include "netbase.h"
19+
#include "txdb.h" // for -dbcache defaults
1820
#ifdef ENABLE_WALLET
1921
#include "wallet.h" // for CWallet::minTxFee
2022
#endif
21-
#include "netbase.h"
22-
#include "txdb.h" // for -dbcache defaults
2323

2424
#include <QDir>
2525
#include <QIntValidator>

src/qt/transactiondesc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
#include "db.h"
1212
#include "main.h"
1313
#include "paymentserver.h"
14+
#include "script.h"
1415
#include "transactionrecord.h"
1516
#include "timedata.h"
1617
#include "ui_interface.h"
1718
#include "wallet.h"
18-
#include "script.h"
1919

2020
#include <stdint.h>
2121
#include <string>

src/qt/transactiontablemodel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ QVariant TransactionTableModel::data(const QModelIndex &index, int role) const
577577
case ConfirmedRole:
578578
return rec->status.countsForBalance;
579579
case FormattedAmountRole:
580-
// Used for copy/export, so don't include separators
580+
// Used for copy/export, so don't include separators
581581
return formatTxAmount(rec, false, BitcoinUnits::separatorNever);
582582
case StatusRole:
583583
return rec->status.status;

src/qt/transactiontablemodel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
#ifndef TRANSACTIONTABLEMODEL_H
66
#define TRANSACTIONTABLEMODEL_H
77

8+
#include "bitcoinunits.h"
9+
810
#include <QAbstractTableModel>
911
#include <QStringList>
1012

11-
#include "bitcoinunits.h"
12-
1313
class TransactionRecord;
1414
class TransactionTablePriv;
1515
class WalletModel;

0 commit comments

Comments
 (0)