mirror of
https://github.com/GOSTSec/gostcoin
synced 2025-02-06 11:54:26 +00:00
QT4 support
This commit is contained in:
parent
28e4150790
commit
89078226d0
@ -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) :
|
||||
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…
x
Reference in New Issue
Block a user