Fix more warnings and remove dead code
This commit is contained in:
parent
409ff22d80
commit
bb290f9fec
50 changed files with 276 additions and 695 deletions
|
|
@ -394,7 +394,7 @@ CommunitiesModel::setCurrentTagId(QString tagId)
|
|||
{
|
||||
if (tagId.startsWith("tag:")) {
|
||||
auto tag = tagId.mid(4);
|
||||
for (const auto &t : tags_) {
|
||||
for (const auto &t : qAsConst(tags_)) {
|
||||
if (t == tag) {
|
||||
this->currentTagId_ = tagId;
|
||||
emit currentTagIdChanged(currentTagId_);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue