Browse Source

[Qt] small Qt-only include cleanup

0.10
Philip Kaufmann 10 years ago
parent
commit
f65352a7d0
  1. 4
      src/qt/optionsdialog.cpp
  2. 2
      src/qt/transactiondesc.cpp
  3. 2
      src/qt/transactiontablemodel.cpp
  4. 4
      src/qt/transactiontablemodel.h

4
src/qt/optionsdialog.cpp

@ -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>

2
src/qt/transactiondesc.cpp

@ -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>

2
src/qt/transactiontablemodel.cpp

@ -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;

4
src/qt/transactiontablemodel.h

@ -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;

Loading…
Cancel
Save