Removed most of the usages of std::ostringstream in the gui.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5056 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2012-03-28 18:02:49 +00:00
parent 9ef7d08d2b
commit 4cb844c44d
38 changed files with 190 additions and 354 deletions

View file

@ -1331,15 +1331,14 @@ QTreeWidgetItem *FriendList::getCurrentPeer() const
}
/* Display the columns of this item. */
std::ostringstream out;
out << "CurrentPeerItem: " << std::endl;
QString out = "CurrentPeerItem: \n";
for(int i = 1; i < COLUMN_COUNT; i++)
{
QString txt = item -> text(i);
out << "\t" << i << ":" << txt.toStdString() << std::endl;
out += QString("\t%1:%2\n").arg(i).arg(txt);
}
std::cerr << out.str();
std::cerr << out.toStdString();
#endif
return item;
}