mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +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:
@@ -169,7 +169,7 @@ void PeerListWidget::mouseReleaseEvent(QMouseEvent *e) {
|
||||
|
||||
void PeerListWidget::mousePressReleased(Qt::MouseButton button) {
|
||||
repaintRow(_pressed);
|
||||
auto pressed = base::take(_pressed, -1);
|
||||
auto pressed = std::exchange(_pressed, -1);
|
||||
auto pressedRemove = base::take(_pressedRemove);
|
||||
if (pressed >= 0 && pressed < _items.size()) {
|
||||
if (auto &ripple = _items[pressed]->ripple) {
|
||||
|
Reference in New Issue
Block a user