Skip to content

Commit

Permalink
Staking Estimation Tab Temp Fix & Checkpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
metaspartan committed Oct 8, 2017
1 parent a35d228 commit 3e55d40
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 19 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#############################################################################
# Makefile for building: Denarius
# Generated by qmake (2.01a) (Qt 4.8.6) on: Mon Oct 2 02:41:00 2017
# Generated by qmake (2.01a) (Qt 4.8.6) on: Sat Oct 7 23:20:50 2017
# Project: denarius-qt.pro
# Template: app
# Command: c:\Qt\4.8.6\bin\qmake.exe USE_LEVELDB=1 USE_UPNP=1 USE_QRCODE=1 -o Makefile denarius-qt.pro
# Command: c:\Qt\4.8.6\bin\qmake.exe USE_LEVELDB=1 USE_QRCODE=1 USE_UPNP=1 -o Makefile denarius-qt.pro
#############################################################################

first: release
Expand Down Expand Up @@ -93,7 +93,7 @@ Makefile: denarius-qt.pro ../../../../Qt/4.8.6/mkspecs/default/qmake.conf ../..
c:/Qt/4.8.6/lib/QtGui.prl \
c:/Qt/4.8.6/lib/QtNetwork.prl \
c:/Qt/4.8.6/lib/QtCore.prl
$(QMAKE) USE_LEVELDB=1 USE_UPNP=1 USE_QRCODE=1 -o Makefile denarius-qt.pro
$(QMAKE) USE_LEVELDB=1 USE_QRCODE=1 USE_UPNP=1 -o Makefile denarius-qt.pro
..\..\..\..\Qt\4.8.6\mkspecs\features\device_config.prf:
..\..\..\..\Qt\4.8.6\mkspecs\qconfig.pri:
..\..\..\..\Qt\4.8.6\mkspecs\features\qt_functions.prf:
Expand Down Expand Up @@ -125,7 +125,7 @@ c:\Qt\4.8.6\lib\QtGui.prl:
c:\Qt\4.8.6\lib\QtNetwork.prl:
c:\Qt\4.8.6\lib\QtCore.prl:
qmake: qmake_all FORCE
@$(QMAKE) USE_LEVELDB=1 USE_UPNP=1 USE_QRCODE=1 -o Makefile denarius-qt.pro
@$(QMAKE) USE_LEVELDB=1 USE_QRCODE=1 USE_UPNP=1 -o Makefile denarius-qt.pro

qmake_all: FORCE

Expand Down
4 changes: 2 additions & 2 deletions Makefile.Debug
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#############################################################################
# Makefile for building: Denarius
# Generated by qmake (2.01a) (Qt 4.8.6) on: Mon Oct 2 02:40:27 2017
# Generated by qmake (2.01a) (Qt 4.8.6) on: Sat Oct 7 23:20:41 2017
# Project: denarius-qt.pro
# Template: app
#############################################################################
Expand Down Expand Up @@ -368,7 +368,7 @@ build/bitcoin-qt_res.o: src\qt\res\bitcoin-qt.rc
windres -i src\qt\res\bitcoin-qt.rc -o build\bitcoin-qt_res.o --include-dir=./src/qt/res $(DEFINES)

qmake: FORCE
@$(QMAKE) USE_LEVELDB=1 USE_UPNP=1 USE_QRCODE=1 -o Makefile.Debug denarius-qt.pro
@$(QMAKE) USE_LEVELDB=1 USE_QRCODE=1 USE_UPNP=1 -o Makefile.Debug denarius-qt.pro

dist:
$(ZIP) Denarius.zip $(SOURCES) $(DIST) denarius-qt.pro ..\..\..\..\Qt\4.8.6\mkspecs\features\device_config.prf ..\..\..\..\Qt\4.8.6\mkspecs\qconfig.pri ..\..\..\..\Qt\4.8.6\mkspecs\features\qt_functions.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\qt_config.prf ..\..\..\..\Qt\4.8.6\mkspecs\win32-g++\qmake.conf ..\..\..\..\Qt\4.8.6\mkspecs\win32-g++-4.6\qmake.conf ..\..\..\..\Qt\4.8.6\mkspecs\features\exclusive_builds.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\default_pre.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\win32\default_pre.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\debug.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\debug_and_release.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\default_post.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\win32\default_post.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\build_pass.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\static.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\win32\thread.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\win32\rtti.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\win32\exceptions.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\win32\stl.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\warn_on.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\qt.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\moc.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\win32\windows.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\resources.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\uic.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\yacc.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\lex.prf c:\Qt\4.8.6\lib\qtmaind.prl c:\Qt\4.8.6\lib\QtGuid.prl c:\Qt\4.8.6\lib\QtNetworkd.prl c:\Qt\4.8.6\lib\QtCored.prl src\qt\locale\bitcoin_af_ZA.ts src\qt\locale\bitcoin_ar.ts src\qt\locale\bitcoin_be_BY.ts src\qt\locale\bitcoin_bg.ts src\qt\locale\bitcoin_bs.ts src\qt\locale\bitcoin_ca.ts src\qt\locale\bitcoin_ca_ES.ts src\qt\locale\bitcoin_cs.ts src\qt\locale\bitcoin_cy.ts src\qt\locale\bitcoin_da.ts src\qt\locale\bitcoin_de.ts src\qt\locale\bitcoin_el_GR.ts src\qt\locale\bitcoin_en.ts src\qt\locale\bitcoin_eo.ts src\qt\locale\bitcoin_es(1).ts src\qt\locale\bitcoin_es.ts src\qt\locale\bitcoin_es_CL.ts src\qt\locale\bitcoin_es_DO.ts src\qt\locale\bitcoin_es_MX.ts src\qt\locale\bitcoin_es_UY.ts src\qt\locale\bitcoin_et.ts src\qt\locale\bitcoin_eu_ES.ts src\qt\locale\bitcoin_fa.ts src\qt\locale\bitcoin_fa_IR.ts src\qt\locale\bitcoin_fi.ts src\qt\locale\bitcoin_fr.ts src\qt\locale\bitcoin_fr_CA.ts src\qt\locale\bitcoin_gl.ts src\qt\locale\bitcoin_he.ts src\qt\locale\bitcoin_hi_IN.ts src\qt\locale\bitcoin_hr.ts src\qt\locale\bitcoin_hu.ts src\qt\locale\bitcoin_id_ID.ts src\qt\locale\bitcoin_it.ts src\qt\locale\bitcoin_ja.ts src\qt\locale\bitcoin_ka.ts src\qt\locale\bitcoin_kk_KZ.ts src\qt\locale\bitcoin_ko_KR.ts src\qt\locale\bitcoin_ky.ts src\qt\locale\bitcoin_la.ts src\qt\locale\bitcoin_lt.ts src\qt\locale\bitcoin_lv_LV.ts src\qt\locale\bitcoin_ms_MY.ts src\qt\locale\bitcoin_nb.ts src\qt\locale\bitcoin_nl.ts src\qt\locale\bitcoin_pam.ts src\qt\locale\bitcoin_pl.ts src\qt\locale\bitcoin_pt_BR.ts src\qt\locale\bitcoin_pt_PT.ts src\qt\locale\bitcoin_ro_RO.ts src\qt\locale\bitcoin_ru.ts src\qt\locale\bitcoin_sah.ts src\qt\locale\bitcoin_sk.ts src\qt\locale\bitcoin_sl_SI.ts src\qt\locale\bitcoin_sq.ts src\qt\locale\bitcoin_sr.ts src\qt\locale\bitcoin_sv.ts src\qt\locale\bitcoin_th_TH.ts src\qt\locale\bitcoin_tr.ts src\qt\locale\bitcoin_uk.ts src\qt\locale\bitcoin_ur_PK.ts src\qt\locale\bitcoin_vi.ts src\qt\locale\bitcoin_vi_VN.ts src\qt\locale\bitcoin_zh_CN.ts src\qt\locale\bitcoin_zh_TW.ts src\qt\locale\bitcoin_af_ZA.ts src\qt\locale\bitcoin_ar.ts src\qt\locale\bitcoin_be_BY.ts src\qt\locale\bitcoin_bg.ts src\qt\locale\bitcoin_bs.ts src\qt\locale\bitcoin_ca.ts src\qt\locale\bitcoin_ca_ES.ts src\qt\locale\bitcoin_cs.ts src\qt\locale\bitcoin_cy.ts src\qt\locale\bitcoin_da.ts src\qt\locale\bitcoin_de.ts src\qt\locale\bitcoin_el_GR.ts src\qt\locale\bitcoin_en.ts src\qt\locale\bitcoin_eo.ts src\qt\locale\bitcoin_es(1).ts src\qt\locale\bitcoin_es.ts src\qt\locale\bitcoin_es_CL.ts src\qt\locale\bitcoin_es_DO.ts src\qt\locale\bitcoin_es_MX.ts src\qt\locale\bitcoin_es_UY.ts src\qt\locale\bitcoin_et.ts src\qt\locale\bitcoin_eu_ES.ts src\qt\locale\bitcoin_fa.ts src\qt\locale\bitcoin_fa_IR.ts src\qt\locale\bitcoin_fi.ts src\qt\locale\bitcoin_fr.ts src\qt\locale\bitcoin_fr_CA.ts src\qt\locale\bitcoin_gl.ts src\qt\locale\bitcoin_he.ts src\qt\locale\bitcoin_hi_IN.ts src\qt\locale\bitcoin_hr.ts src\qt\locale\bitcoin_hu.ts src\qt\locale\bitcoin_id_ID.ts src\qt\locale\bitcoin_it.ts src\qt\locale\bitcoin_ja.ts src\qt\locale\bitcoin_ka.ts src\qt\locale\bitcoin_kk_KZ.ts src\qt\locale\bitcoin_ko_KR.ts src\qt\locale\bitcoin_ky.ts src\qt\locale\bitcoin_la.ts src\qt\locale\bitcoin_lt.ts src\qt\locale\bitcoin_lv_LV.ts src\qt\locale\bitcoin_ms_MY.ts src\qt\locale\bitcoin_nb.ts src\qt\locale\bitcoin_nl.ts src\qt\locale\bitcoin_pam.ts src\qt\locale\bitcoin_pl.ts src\qt\locale\bitcoin_pt_BR.ts src\qt\locale\bitcoin_pt_PT.ts src\qt\locale\bitcoin_ro_RO.ts src\qt\locale\bitcoin_ru.ts src\qt\locale\bitcoin_sah.ts src\qt\locale\bitcoin_sk.ts src\qt\locale\bitcoin_sl_SI.ts src\qt\locale\bitcoin_sq.ts src\qt\locale\bitcoin_sr.ts src\qt\locale\bitcoin_sv.ts src\qt\locale\bitcoin_th_TH.ts src\qt\locale\bitcoin_tr.ts src\qt\locale\bitcoin_uk.ts src\qt\locale\bitcoin_ur_PK.ts src\qt\locale\bitcoin_vi.ts src\qt\locale\bitcoin_vi_VN.ts src\qt\locale\bitcoin_zh_CN.ts src\qt\locale\bitcoin_zh_TW.ts TRANSLATIONS HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES
Expand Down
4 changes: 2 additions & 2 deletions Makefile.Release
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#############################################################################
# Makefile for building: Denarius
# Generated by qmake (2.01a) (Qt 4.8.6) on: Mon Oct 2 02:39:54 2017
# Generated by qmake (2.01a) (Qt 4.8.6) on: Sat Oct 7 23:20:32 2017
# Project: denarius-qt.pro
# Template: app
#############################################################################
Expand Down Expand Up @@ -368,7 +368,7 @@ build/bitcoin-qt_res.o: src\qt\res\bitcoin-qt.rc
windres -i src\qt\res\bitcoin-qt.rc -o build\bitcoin-qt_res.o --include-dir=./src/qt/res $(DEFINES)

qmake: FORCE
@$(QMAKE) USE_LEVELDB=1 USE_UPNP=1 USE_QRCODE=1 -o Makefile.Release denarius-qt.pro
@$(QMAKE) USE_LEVELDB=1 USE_QRCODE=1 USE_UPNP=1 -o Makefile.Release denarius-qt.pro

dist:
$(ZIP) Denarius.zip $(SOURCES) $(DIST) denarius-qt.pro ..\..\..\..\Qt\4.8.6\mkspecs\features\device_config.prf ..\..\..\..\Qt\4.8.6\mkspecs\qconfig.pri ..\..\..\..\Qt\4.8.6\mkspecs\features\qt_functions.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\qt_config.prf ..\..\..\..\Qt\4.8.6\mkspecs\win32-g++\qmake.conf ..\..\..\..\Qt\4.8.6\mkspecs\win32-g++-4.6\qmake.conf ..\..\..\..\Qt\4.8.6\mkspecs\features\exclusive_builds.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\default_pre.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\win32\default_pre.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\release.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\debug_and_release.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\default_post.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\win32\default_post.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\build_pass.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\static.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\win32\thread.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\win32\rtti.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\win32\exceptions.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\win32\stl.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\warn_on.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\qt.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\moc.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\win32\windows.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\resources.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\uic.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\yacc.prf ..\..\..\..\Qt\4.8.6\mkspecs\features\lex.prf c:\Qt\4.8.6\lib\qtmain.prl c:\Qt\4.8.6\lib\QtGui.prl c:\Qt\4.8.6\lib\QtNetwork.prl c:\Qt\4.8.6\lib\QtCore.prl src\qt\locale\bitcoin_af_ZA.ts src\qt\locale\bitcoin_ar.ts src\qt\locale\bitcoin_be_BY.ts src\qt\locale\bitcoin_bg.ts src\qt\locale\bitcoin_bs.ts src\qt\locale\bitcoin_ca.ts src\qt\locale\bitcoin_ca_ES.ts src\qt\locale\bitcoin_cs.ts src\qt\locale\bitcoin_cy.ts src\qt\locale\bitcoin_da.ts src\qt\locale\bitcoin_de.ts src\qt\locale\bitcoin_el_GR.ts src\qt\locale\bitcoin_en.ts src\qt\locale\bitcoin_eo.ts src\qt\locale\bitcoin_es(1).ts src\qt\locale\bitcoin_es.ts src\qt\locale\bitcoin_es_CL.ts src\qt\locale\bitcoin_es_DO.ts src\qt\locale\bitcoin_es_MX.ts src\qt\locale\bitcoin_es_UY.ts src\qt\locale\bitcoin_et.ts src\qt\locale\bitcoin_eu_ES.ts src\qt\locale\bitcoin_fa.ts src\qt\locale\bitcoin_fa_IR.ts src\qt\locale\bitcoin_fi.ts src\qt\locale\bitcoin_fr.ts src\qt\locale\bitcoin_fr_CA.ts src\qt\locale\bitcoin_gl.ts src\qt\locale\bitcoin_he.ts src\qt\locale\bitcoin_hi_IN.ts src\qt\locale\bitcoin_hr.ts src\qt\locale\bitcoin_hu.ts src\qt\locale\bitcoin_id_ID.ts src\qt\locale\bitcoin_it.ts src\qt\locale\bitcoin_ja.ts src\qt\locale\bitcoin_ka.ts src\qt\locale\bitcoin_kk_KZ.ts src\qt\locale\bitcoin_ko_KR.ts src\qt\locale\bitcoin_ky.ts src\qt\locale\bitcoin_la.ts src\qt\locale\bitcoin_lt.ts src\qt\locale\bitcoin_lv_LV.ts src\qt\locale\bitcoin_ms_MY.ts src\qt\locale\bitcoin_nb.ts src\qt\locale\bitcoin_nl.ts src\qt\locale\bitcoin_pam.ts src\qt\locale\bitcoin_pl.ts src\qt\locale\bitcoin_pt_BR.ts src\qt\locale\bitcoin_pt_PT.ts src\qt\locale\bitcoin_ro_RO.ts src\qt\locale\bitcoin_ru.ts src\qt\locale\bitcoin_sah.ts src\qt\locale\bitcoin_sk.ts src\qt\locale\bitcoin_sl_SI.ts src\qt\locale\bitcoin_sq.ts src\qt\locale\bitcoin_sr.ts src\qt\locale\bitcoin_sv.ts src\qt\locale\bitcoin_th_TH.ts src\qt\locale\bitcoin_tr.ts src\qt\locale\bitcoin_uk.ts src\qt\locale\bitcoin_ur_PK.ts src\qt\locale\bitcoin_vi.ts src\qt\locale\bitcoin_vi_VN.ts src\qt\locale\bitcoin_zh_CN.ts src\qt\locale\bitcoin_zh_TW.ts src\qt\locale\bitcoin_af_ZA.ts src\qt\locale\bitcoin_ar.ts src\qt\locale\bitcoin_be_BY.ts src\qt\locale\bitcoin_bg.ts src\qt\locale\bitcoin_bs.ts src\qt\locale\bitcoin_ca.ts src\qt\locale\bitcoin_ca_ES.ts src\qt\locale\bitcoin_cs.ts src\qt\locale\bitcoin_cy.ts src\qt\locale\bitcoin_da.ts src\qt\locale\bitcoin_de.ts src\qt\locale\bitcoin_el_GR.ts src\qt\locale\bitcoin_en.ts src\qt\locale\bitcoin_eo.ts src\qt\locale\bitcoin_es(1).ts src\qt\locale\bitcoin_es.ts src\qt\locale\bitcoin_es_CL.ts src\qt\locale\bitcoin_es_DO.ts src\qt\locale\bitcoin_es_MX.ts src\qt\locale\bitcoin_es_UY.ts src\qt\locale\bitcoin_et.ts src\qt\locale\bitcoin_eu_ES.ts src\qt\locale\bitcoin_fa.ts src\qt\locale\bitcoin_fa_IR.ts src\qt\locale\bitcoin_fi.ts src\qt\locale\bitcoin_fr.ts src\qt\locale\bitcoin_fr_CA.ts src\qt\locale\bitcoin_gl.ts src\qt\locale\bitcoin_he.ts src\qt\locale\bitcoin_hi_IN.ts src\qt\locale\bitcoin_hr.ts src\qt\locale\bitcoin_hu.ts src\qt\locale\bitcoin_id_ID.ts src\qt\locale\bitcoin_it.ts src\qt\locale\bitcoin_ja.ts src\qt\locale\bitcoin_ka.ts src\qt\locale\bitcoin_kk_KZ.ts src\qt\locale\bitcoin_ko_KR.ts src\qt\locale\bitcoin_ky.ts src\qt\locale\bitcoin_la.ts src\qt\locale\bitcoin_lt.ts src\qt\locale\bitcoin_lv_LV.ts src\qt\locale\bitcoin_ms_MY.ts src\qt\locale\bitcoin_nb.ts src\qt\locale\bitcoin_nl.ts src\qt\locale\bitcoin_pam.ts src\qt\locale\bitcoin_pl.ts src\qt\locale\bitcoin_pt_BR.ts src\qt\locale\bitcoin_pt_PT.ts src\qt\locale\bitcoin_ro_RO.ts src\qt\locale\bitcoin_ru.ts src\qt\locale\bitcoin_sah.ts src\qt\locale\bitcoin_sk.ts src\qt\locale\bitcoin_sl_SI.ts src\qt\locale\bitcoin_sq.ts src\qt\locale\bitcoin_sr.ts src\qt\locale\bitcoin_sv.ts src\qt\locale\bitcoin_th_TH.ts src\qt\locale\bitcoin_tr.ts src\qt\locale\bitcoin_uk.ts src\qt\locale\bitcoin_ur_PK.ts src\qt\locale\bitcoin_vi.ts src\qt\locale\bitcoin_vi_VN.ts src\qt\locale\bitcoin_zh_CN.ts src\qt\locale\bitcoin_zh_TW.ts TRANSLATIONS HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES
Expand Down
2 changes: 2 additions & 0 deletions src/checkpoints.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ namespace Checkpoints
( 195500, uint256("0x00000000000125265e79f31c6aa19d2f5db5391d41416d4d44aa675dd205acfa") )
( 249999, uint256("0x0000000000200eaf8ce9cc5ebb5e623fac9da021c11fc8e5f7db91a74004a53d") )
( 260001, uint256("0x0000000000ac126bfc1d9d9af9b2bb6d5063e5f2d6144e3b0fae40e04ec350c2") )
( 271836, uint256("0x00000000004397a1b2c812695093c437667665337a3c11c652b616a1ee1efe89") )
( 280140, uint256("0x000000000026b26dc0bdd088e0cf7c86e845ae2c115170460e5440e092a75017") )
;

// TestNet has no checkpoints
Expand Down
4 changes: 2 additions & 2 deletions src/qt/mintingtablemodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ class MintingTableModel : public QAbstractTableModel
Balance = 2,
Age = 3,
CoinDay = 4,
MintProbability = 5,
MintReward = 6
MintProbability = 5
//MintReward = 6
};

void setMintingProxyModel(MintingFilterProxy *mintingProxy);
Expand Down
18 changes: 9 additions & 9 deletions src/qt/mintingview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,22 +151,22 @@ void MintingView::setModel(WalletModel *model)
mintingView->horizontalHeader()->resizeSection(
MintingTableModel::Age, 60);
mintingView->horizontalHeader()->resizeSection(
MintingTableModel::Balance, 80);
MintingTableModel::Balance, 120);
mintingView->horizontalHeader()->resizeSection(
MintingTableModel::CoinDay,60);
MintingTableModel::CoinDay, 60);
mintingView->horizontalHeader()->resizeSection(
MintingTableModel::MintProbability, 105);
#if QT_VERSION < 0x050000
mintingView->horizontalHeader()->setResizeMode(
MintingTableModel::MintReward, QHeaderView::Stretch);
//mintingView->horizontalHeader()->setResizeMode(
//MintingTableModel::MintReward, QHeaderView::Stretch);
#else
mintingView->horizontalHeader()->setSectionResizeMode(
MintingTableModel::MintReward, QHeaderView::Stretch);
//mintingView->horizontalHeader()->setSectionResizeMode(
//MintingTableModel::MintReward, QHeaderView::Stretch);
#endif
mintingView->horizontalHeader()->resizeSection(
MintingTableModel::Address, 75);
MintingTableModel::Address, 275);
mintingView->horizontalHeader()->resizeSection(
MintingTableModel::TxHash, 245);
MintingTableModel::TxHash, 545);
}
}

Expand Down Expand Up @@ -219,7 +219,7 @@ void MintingView::exportClicked()
writer.addColumn(tr("CoinDay"), MintingTableModel::CoinDay,0);
writer.addColumn(tr("Balance"), MintingTableModel::Balance,0);
writer.addColumn(tr("MintingProbability"), MintingTableModel::MintProbability,0);
writer.addColumn(tr("MintingReward"), MintingTableModel::MintReward,0);
//writer.addColumn(tr("MintingReward"), MintingTableModel::MintReward,0);

if(!writer.write())
{
Expand Down

0 comments on commit 3e55d40

Please sign in to comment.