mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 09:05:14 +00:00
Added some checks in Qt screen() calls.
Added check for self() user data in self photo update in Settings.
This commit is contained in:
@@ -1196,6 +1196,10 @@ void SettingsInner::onUpdatePhotoCancel() {
|
||||
}
|
||||
|
||||
void SettingsInner::onUpdatePhoto() {
|
||||
if (!self()) {
|
||||
return;
|
||||
}
|
||||
|
||||
saveError();
|
||||
|
||||
QStringList imgExtensions(cImgExtensions());
|
||||
|
Reference in New Issue
Block a user