3030#include < QTreeWidget>
3131#include < QTreeWidgetItem>
3232
33- using namespace std ;
3433QList<CAmount> CoinControlDialog::payAmounts;
3534CCoinControl* CoinControlDialog::coinControl = new CCoinControl();
3635bool CoinControlDialog::fSubtractFeeFromAmount = false ;
@@ -442,7 +441,7 @@ QString CoinControlDialog::getPriorityLabel(double dPriority, double mempoolEsti
442441// shows count of locked unspent outputs
443442void CoinControlDialog::updateLabelLocked ()
444443{
445- vector<COutPoint> vOutpts;
444+ std:: vector<COutPoint> vOutpts;
446445 model->listLockedCoins (vOutpts);
447446 if (vOutpts.size () > 0 )
448447 {
@@ -467,7 +466,7 @@ void CoinControlDialog::updateLabels(WalletModel *model, QDialog* dialog)
467466
468467 if (amount > 0 )
469468 {
470- CTxOut txout (amount, (CScript)vector<unsigned char >(24 , 0 ));
469+ CTxOut txout (amount, (CScript)std:: vector<unsigned char >(24 , 0 ));
471470 txDummy.vout .push_back (txout);
472471 if (txout.IsDust (::minRelayTxFee))
473472 fDust = true ;
@@ -487,8 +486,8 @@ void CoinControlDialog::updateLabels(WalletModel *model, QDialog* dialog)
487486 int nQuantityUncompressed = 0 ;
488487 bool fAllowFree = false ;
489488
490- vector<COutPoint> vCoinControl;
491- vector<COutput> vOutputs;
489+ std:: vector<COutPoint> vCoinControl;
490+ std:: vector<COutput> vOutputs;
492491 coinControl->ListSelected (vCoinControl);
493492 model->getOutputs (vCoinControl, vOutputs);
494493
@@ -568,7 +567,7 @@ void CoinControlDialog::updateLabels(WalletModel *model, QDialog* dialog)
568567 // Never create dust outputs; if we would, just add the dust to the fee.
569568 if (nChange > 0 && nChange < CENT)
570569 {
571- CTxOut txout (nChange, (CScript)vector<unsigned char >(24 , 0 ));
570+ CTxOut txout (nChange, (CScript)std:: vector<unsigned char >(24 , 0 ));
572571 if (txout.IsDust (::minRelayTxFee))
573572 {
574573 if (CoinControlDialog::fSubtractFeeFromAmount ) // dust-change will be raised until no dust
@@ -687,10 +686,10 @@ void CoinControlDialog::updateView()
687686 int nDisplayUnit = model->getOptionsModel ()->getDisplayUnit ();
688687 double mempoolEstimatePriority = mempool.estimatePriority (nTxConfirmTarget);
689688
690- map<QString, vector<COutput> > mapCoins;
689+ std:: map<QString, std:: vector<COutput> > mapCoins;
691690 model->listCoins (mapCoins);
692691
693- BOOST_FOREACH (const PAIRTYPE (QString, vector<COutput>)& coins, mapCoins) {
692+ BOOST_FOREACH (const PAIRTYPE (QString, std:: vector<COutput>)& coins, mapCoins) {
694693 QTreeWidgetItem *itemWalletAddress = new QTreeWidgetItem ();
695694 itemWalletAddress->setCheckState (COLUMN_CHECKBOX, Qt::Unchecked);
696695 QString sWalletAddress = coins.first ;
0 commit comments