2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

version 0.6.18 - photos up to 1280x1280, single-column layout support, new version notifications

This commit is contained in:
John Preston
2014-12-12 19:27:03 +03:00
parent 2364dec9dd
commit 8d3aa5c31e
41 changed files with 869 additions and 190 deletions

View File

@@ -1343,7 +1343,11 @@ void SettingsWidget::showAll() {
_scroll.show();
_inner.show();
_inner.showAll();
_close.show();
if (cWideMode()) {
_close.show();
} else {
_close.hide();
}
}
void SettingsWidget::hideAll() {
@@ -1364,6 +1368,14 @@ void SettingsWidget::dragEnterEvent(QDragEnterEvent *e) {
void SettingsWidget::dropEvent(QDropEvent *e) {
}
void SettingsWidget::updateWideMode() {
if (cWideMode()) {
_close.show();
} else {
_close.hide();
}
}
void SettingsWidget::updateOnlineDisplay() {
_inner.updateOnlineDisplay();
}