Browse Source

QT4 support

pull/5/head
orignal 8 years ago
parent
commit
89078226d0
  1. 5
      src/qt/coincontroldialog.cpp

5
src/qt/coincontroldialog.cpp

@ -21,6 +21,7 @@ @@ -21,6 +21,7 @@
#include <QString>
#include <QTreeWidget>
#include <QTreeWidgetItem>
#include <QtGlobal>
using namespace std;
QList<qint64> CoinControlDialog::payAmounts;
@ -96,7 +97,11 @@ CoinControlDialog::CoinControlDialog(QWidget *parent) : @@ -96,7 +97,11 @@ CoinControlDialog::CoinControlDialog(QWidget *parent) :
connect(ui->treeWidget, SIGNAL(itemChanged( QTreeWidgetItem*, int)), this, SLOT(viewItemChanged( QTreeWidgetItem*, int)));
// click on header
#if QT_VERSION >= 0x050000
ui->treeWidget->header()->setSectionsClickable(true);
#else
ui->treeWidget->header()->setClickable(true);
#endif
connect(ui->treeWidget->header(), SIGNAL(sectionClicked(int)), this, SLOT(headerSectionClicked(int)));
// ok button

Loading…
Cancel
Save