mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 03:00:46 +03:00
lint
This commit is contained in:
parent
000681b25e
commit
9715a0ee16
1 changed files with 3 additions and 3 deletions
|
@ -94,7 +94,7 @@ UserSettings::load(std::optional<QString> profile)
|
||||||
expireEvents_ = settings.value("user/expired_events_background_maintenance", false).toBool();
|
expireEvents_ = settings.value("user/expired_events_background_maintenance", false).toBool();
|
||||||
|
|
||||||
mobileMode_ = settings.value("user/mobile_mode", false).toBool();
|
mobileMode_ = settings.value("user/mobile_mode", false).toBool();
|
||||||
disableSwipe_ = settings.value("user/disable_swipe", false).toBool();
|
disableSwipe_ = settings.value("user/disable_swipe", false).toBool();
|
||||||
emojiFont_ = settings.value("user/emoji_font_family", "emoji").toString();
|
emojiFont_ = settings.value("user/emoji_font_family", "emoji").toString();
|
||||||
baseFontSize_ = settings.value("user/font_size", QFont().pointSizeF()).toDouble();
|
baseFontSize_ = settings.value("user/font_size", QFont().pointSizeF()).toDouble();
|
||||||
auto tempPresence = settings.value("user/presence", "").toString().toStdString();
|
auto tempPresence = settings.value("user/presence", "").toString().toStdString();
|
||||||
|
@ -1417,8 +1417,8 @@ UserSettingsModel::data(const QModelIndex &index, int role) const
|
||||||
return tr(
|
return tr(
|
||||||
"Will prevent text selection in the timeline to make touch scrolling easier.");
|
"Will prevent text selection in the timeline to make touch scrolling easier.");
|
||||||
case DisableSwipe:
|
case DisableSwipe:
|
||||||
return tr(
|
return tr("Will prevent swipe motions like swiping left/right between Rooms and "
|
||||||
"Will prevent swipe motions like swiping left/right between Rooms and Timeline, or swiping a message to reply.");
|
"Timeline, or swiping a message to reply.");
|
||||||
case ScaleFactor:
|
case ScaleFactor:
|
||||||
return tr("Change the scale factor of the whole user interface.");
|
return tr("Change the scale factor of the whole user interface.");
|
||||||
case UseStunServer:
|
case UseStunServer:
|
||||||
|
|
Loading…
Reference in a new issue