mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-22 05:14:31 -04:00
Fix CppCheck in ChatWidget.cpp
/retroshare-gui/src/gui/chat/ChatWidget.cpp:482: warning: Cppcheck(clarifyCondition): Boolean result is used in bitwise operation. Clarify expression with parentheses.
This commit is contained in:
parent
88d84e0249
commit
214e382a0a
1 changed files with 1 additions and 1 deletions
|
@ -499,7 +499,7 @@ bool ChatWidget::eventFilter(QObject *obj, QEvent *event)
|
||||||
bTextselected=true;
|
bTextselected=true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ui->searchButton->setChecked(!ui->searchButton->isChecked() | bTextselected);
|
ui->searchButton->setChecked(!ui->searchButton->isChecked() || bTextselected);
|
||||||
ui->leSearch->setVisible(bTextselected);//To discard re-selection of text
|
ui->leSearch->setVisible(bTextselected);//To discard re-selection of text
|
||||||
on_searchButton_clicked(ui->searchButton->isChecked());
|
on_searchButton_clicked(ui->searchButton->isChecked());
|
||||||
return true; // eat event
|
return true; // eat event
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue