mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-10 10:05:19 -04:00
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:
parent
9ef7d08d2b
commit
4cb844c44d
38 changed files with 190 additions and 354 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue