Skip to content

Commit

Permalink
Fix misleading message (#10944)
Browse files Browse the repository at this point in the history
* Fix misleading message

Some servers do not provide activities at all. In that case, the label
should not read "have activities enabled", because that implies that
they could be provided, but are disabled. Which is misleading.

Fixes: #10814

* Update src/gui/activitywidget.cpp

Co-authored-by: Hannah von Reth <[email protected]>

---------

Co-authored-by: Hannah von Reth <[email protected]>
  • Loading branch information
erikjv and TheOneRing authored Jun 23, 2023
1 parent cde9c61 commit 2e5e0b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/activitywidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ void ActivityWidget::showLabels()
t.clear();
QSetIterator<QString> i(_accountsWithoutActivities);
while (i.hasNext()) {
t.append(tr("<br/>Account %1 does not have activities enabled.").arg(i.next()));
t.append(tr("<br/>%1 does not provide activities.").arg(i.next()));
}
_ui->_bottomLabel->setTextFormat(Qt::RichText);
_ui->_bottomLabel->setText(t);
Expand Down

0 comments on commit 2e5e0b5

Please sign in to comment.