mirror of
https://github.com/fergalmoran/flameshot.git
synced 2026-03-27 10:29:46 +00:00
Remove extra timer shots when moving selection with keyboard (#2545)
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
This commit is contained in:
@@ -443,11 +443,10 @@ void SelectionWidget::setGeometryByKeyboard(const QRect& r)
|
||||
rect.setHeight(1);
|
||||
}
|
||||
setGeometry(rect);
|
||||
connect(
|
||||
&timer,
|
||||
&QTimer::timeout,
|
||||
this,
|
||||
[this]() { emit geometrySettled(); },
|
||||
Qt::UniqueConnection);
|
||||
connect(&timer,
|
||||
&QTimer::timeout,
|
||||
this,
|
||||
&SelectionWidget::geometrySettled,
|
||||
Qt::UniqueConnection);
|
||||
timer.start(400);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user