Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maybe-read-timer setting #642

Merged
merged 1 commit into from
Nov 19, 2019
Merged

Conversation

ddanilov
Copy link
Contributor

replace the hardcoded value by a parameter setting

@@ -756,7 +756,7 @@ void ChatRoomWidget::reStartShownTimer()
indexToMaybeRead >= indicesOnScreen.back())
return;

maybeReadTimer.start(1000, this);
maybeReadTimer.start(QSettings().value("UI/maybe_read_timer", 1000).value<int>(), this);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make a Settings (instead of QSettings) object static and use Settings::get<>? Otherwise things look good.

replace the hardcoded value by a parameter setting
@KitsuneRal KitsuneRal merged commit 9819e9d into quotient-im:master Nov 19, 2019
@KitsuneRal KitsuneRal added the enhancement A feature or change request for Quaternion label Nov 19, 2019
@KitsuneRal KitsuneRal added this to In work in Quaternion 1 via automation Nov 19, 2019
@KitsuneRal KitsuneRal moved this from In work to Version 0.0.9.5 - Done in Quaternion 1 Nov 19, 2019
@ddanilov ddanilov deleted the maybe_read_timer branch November 23, 2019 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A feature or change request for Quaternion
Projects
Status: Version 0.0.95 - Done
Quaternion 1
  
Version 0.0.95 - Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants