mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-04 12:49:28 -04:00
Merge pull request #957 from PhenomRetroShare/Fix_CppCheckerError
Fix cpp checker error
This commit is contained in:
commit
34ddf71703
5 changed files with 19 additions and 6 deletions
|
@ -128,6 +128,8 @@ RsRegularExpression::Expression * AdvancedSearchDialog::getRsExpr()
|
|||
|
||||
|
||||
// iterate through the items in elements and
|
||||
#warning Phenom (2017-07-21): I don't know if it is a real memLeak for wholeExpression. If not remove this warning and add a comment how it is deleted.
|
||||
// cppcheck-suppress memleak
|
||||
for (int i = 1; i < expressions->size(); ++i) {
|
||||
// extract the expression information and compound it with the
|
||||
// first expression
|
||||
|
|
|
@ -395,7 +395,7 @@ ChatPage::load()
|
|||
// load personal invites
|
||||
//
|
||||
#ifdef TO_BE_DONE
|
||||
for()
|
||||
for(;;)
|
||||
{
|
||||
QListWidgetItem *item = new QListWidgetItem;
|
||||
item->setData(Qt::DisplayRole,tr("Private chat invite from")+" "+QString::fromUtf8(detail.name.c_str())) ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue