qt: fix compile issue in Qt GUI

This was introduced in 3e1cf9b. Needs a cast to qint64.
This commit is contained in:
Wladimir J. van der Laan 2014-05-08 12:22:47 +02:00
parent e0c06d2c49
commit 9b4b3cf9cf
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6

View File

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