[Qt] small Qt-only include cleanup

This commit is contained in:
Philip Kaufmann 2014-07-25 17:43:41 +02:00
parent 3955c3940e
commit f65352a7d0
4 changed files with 6 additions and 6 deletions

View File

@ -15,11 +15,11 @@
#include "optionsmodel.h" #include "optionsmodel.h"
#include "main.h" // for MAX_SCRIPTCHECK_THREADS #include "main.h" // for MAX_SCRIPTCHECK_THREADS
#include "netbase.h"
#include "txdb.h" // for -dbcache defaults
#ifdef ENABLE_WALLET #ifdef ENABLE_WALLET
#include "wallet.h" // for CWallet::minTxFee #include "wallet.h" // for CWallet::minTxFee
#endif #endif
#include "netbase.h"
#include "txdb.h" // for -dbcache defaults
#include <QDir> #include <QDir>
#include <QIntValidator> #include <QIntValidator>

View File

@ -11,11 +11,11 @@
#include "db.h" #include "db.h"
#include "main.h" #include "main.h"
#include "paymentserver.h" #include "paymentserver.h"
#include "script.h"
#include "transactionrecord.h" #include "transactionrecord.h"
#include "timedata.h" #include "timedata.h"
#include "ui_interface.h" #include "ui_interface.h"
#include "wallet.h" #include "wallet.h"
#include "script.h"
#include <stdint.h> #include <stdint.h>
#include <string> #include <string>

View File

@ -577,7 +577,7 @@ QVariant TransactionTableModel::data(const QModelIndex &index, int role) const
case ConfirmedRole: case ConfirmedRole:
return rec->status.countsForBalance; return rec->status.countsForBalance;
case FormattedAmountRole: 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); return formatTxAmount(rec, false, BitcoinUnits::separatorNever);
case StatusRole: case StatusRole:
return rec->status.status; return rec->status.status;

View File

@ -5,11 +5,11 @@
#ifndef TRANSACTIONTABLEMODEL_H #ifndef TRANSACTIONTABLEMODEL_H
#define TRANSACTIONTABLEMODEL_H #define TRANSACTIONTABLEMODEL_H
#include "bitcoinunits.h"
#include <QAbstractTableModel> #include <QAbstractTableModel>
#include <QStringList> #include <QStringList>
#include "bitcoinunits.h"
class TransactionRecord; class TransactionRecord;
class TransactionTablePriv; class TransactionTablePriv;
class WalletModel; class WalletModel;