2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00
This commit is contained in:
John Preston
2015-10-12 23:32:00 +02:00
10 changed files with 56 additions and 15 deletions

View File

@@ -860,6 +860,7 @@ void SettingsInner::updateSize(int32 newWidth) {
}
}
void SettingsInner::updateOnlineDisplay() {
}
@@ -1474,6 +1475,11 @@ void SettingsInner::onDesktopNotify() {
}
}
void SettingsInner::enableDisplayNotify(bool enable)
{
_desktopNotify.setChecked(enable);
}
void SettingsInner::onSenderName() {
_messagePreview.setDisabled(!_senderName.checked());
if (!_senderName.checked() && _messagePreview.checked()) {
@@ -1858,6 +1864,11 @@ void SettingsWidget::updateWideMode() {
}
}
void SettingsWidget::updateDisplayNotify()
{
_inner.enableDisplayNotify(cDesktopNotify());
}
void SettingsWidget::updateOnlineDisplay() {
_inner.updateOnlineDisplay();
}