mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
[Qt] small Qt-only include cleanup
This commit is contained in:
parent
3955c3940e
commit
f65352a7d0
@ -15,11 +15,11 @@
|
||||
#include "optionsmodel.h"
|
||||
|
||||
#include "main.h" // for MAX_SCRIPTCHECK_THREADS
|
||||
#include "netbase.h"
|
||||
#include "txdb.h" // for -dbcache defaults
|
||||
#ifdef ENABLE_WALLET
|
||||
#include "wallet.h" // for CWallet::minTxFee
|
||||
#endif
|
||||
#include "netbase.h"
|
||||
#include "txdb.h" // for -dbcache defaults
|
||||
|
||||
#include <QDir>
|
||||
#include <QIntValidator>
|
||||
|
@ -11,11 +11,11 @@
|
||||
#include "db.h"
|
||||
#include "main.h"
|
||||
#include "paymentserver.h"
|
||||
#include "script.h"
|
||||
#include "transactionrecord.h"
|
||||
#include "timedata.h"
|
||||
#include "ui_interface.h"
|
||||
#include "wallet.h"
|
||||
#include "script.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <string>
|
||||
|
@ -577,7 +577,7 @@ QVariant TransactionTableModel::data(const QModelIndex &index, int role) const
|
||||
case ConfirmedRole:
|
||||
return rec->status.countsForBalance;
|
||||
case FormattedAmountRole:
|
||||
// Used for copy/export, so don't include separators
|
||||
// Used for copy/export, so don't include separators
|
||||
return formatTxAmount(rec, false, BitcoinUnits::separatorNever);
|
||||
case StatusRole:
|
||||
return rec->status.status;
|
||||
|
@ -5,11 +5,11 @@
|
||||
#ifndef TRANSACTIONTABLEMODEL_H
|
||||
#define TRANSACTIONTABLEMODEL_H
|
||||
|
||||
#include "bitcoinunits.h"
|
||||
|
||||
#include <QAbstractTableModel>
|
||||
#include <QStringList>
|
||||
|
||||
#include "bitcoinunits.h"
|
||||
|
||||
class TransactionRecord;
|
||||
class TransactionTablePriv;
|
||||
class WalletModel;
|
||||
|
Loading…
Reference in New Issue
Block a user