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

fixed settings on restart

This commit is contained in:
John Preston
2014-10-22 23:44:30 +04:00
parent b4427a0073
commit 12ff311114
3 changed files with 5 additions and 2 deletions

View File

@@ -97,6 +97,8 @@ bool scaleIs(DBIScale scale) {
}
SettingsInner::SettingsInner(SettingsWidget *parent) : QWidget(parent),
_self(App::self()),
// profile
_nameCache(self() ? self()->name : QString()),
_uploadPhoto(this, lang(lng_settings_upload), st::btnSetUpload),