Remove some unnecessary c_strs() in logging and the GUI

Includes `core: remove unneeded c_str() / Qt: replace c_str() with Qt code`
by P. Kaufmann.
This commit is contained in:
Philip Kaufmann
2014-09-08 12:25:52 +02:00
committed by Wladimir J. van der Laan
parent f7d0a86bf6
commit 2c2cc5dac1
7 changed files with 9 additions and 9 deletions

View File

@@ -622,7 +622,7 @@ void WalletModel::listCoins(std::map<QString, std::vector<COutput> >& mapCoins)
CTxDestination address;
if(!out.fSpendable || !ExtractDestination(cout.tx->vout[cout.i].scriptPubKey, address))
continue;
mapCoins[CBitcoinAddress(address).ToString().c_str()].push_back(out);
mapCoins[QString::fromStdString(CBitcoinAddress(address).ToString())].push_back(out);
}
}