Browse Source

qt: fix compile issue in Qt GUI

This was introduced in 3e1cf9b. Needs a cast to qint64.
pull/1/head
Wladimir J. van der Laan 9 years ago
parent
commit
9b4b3cf9cf
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/qt/optionsmodel.cpp

2
src/qt/optionsmodel.cpp

@ -93,7 +93,7 @@ void OptionsModel::Init() @@ -93,7 +93,7 @@ void OptionsModel::Init()
// Wallet
#ifdef ENABLE_WALLET
if (!settings.contains("nTransactionFee"))
settings.setValue("nTransactionFee", DEFAULT_TRANSACTION_FEE);
settings.setValue("nTransactionFee", (qint64)DEFAULT_TRANSACTION_FEE);
nTransactionFee = settings.value("nTransactionFee").toLongLong(); // if -paytxfee is set, this will be overridden later in init.cpp
if (mapArgs.count("-paytxfee"))
addOverriddenOption("-paytxfee");

Loading…
Cancel
Save