mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Ability to delete authorization keys added.
If we start logging in and we know, that some of the authorization keys were read from the hard drive, not generated, we destroy all the existing authorization keys and start generating new keys.
This commit is contained in:
@@ -922,7 +922,7 @@ float64 StickersBox::Inner::aboveShadowOpacity() const {
|
||||
}
|
||||
|
||||
void StickersBox::Inner::mouseReleaseEvent(QMouseEvent *e) {
|
||||
auto pressed = base::take(_pressed, -1);
|
||||
auto pressed = std::exchange(_pressed, -1);
|
||||
|
||||
if (_section != Section::Installed && _selected < 0 && pressed >= 0) {
|
||||
setCursor(style::cur_default);
|
||||
|
Reference in New Issue
Block a user