Fix CppCheck Error in ChatPage.cpp

/retroshare-gui/src/gui/settings/ChatPage.cpp:398: error:
Cppcheck(syntaxError): syntax error
This commit is contained in:
Phenom 2017-07-21 15:11:55 +02:00
parent 2afc1bf423
commit 145ce6b8b5

View File

@ -395,7 +395,7 @@ ChatPage::load()
// load personal invites // load personal invites
// //
#ifdef TO_BE_DONE #ifdef TO_BE_DONE
for() for(;;)
{ {
QListWidgetItem *item = new QListWidgetItem; QListWidgetItem *item = new QListWidgetItem;
item->setData(Qt::DisplayRole,tr("Private chat invite from")+" "+QString::fromUtf8(detail.name.c_str())) ; item->setData(Qt::DisplayRole,tr("Private chat invite from")+" "+QString::fromUtf8(detail.name.c_str())) ;