mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
obey the coding style rules
This commit is contained in:
parent
04b3276b0f
commit
638a5f822f
|
@ -40,7 +40,8 @@ CroppingLabel::CroppingLabel(QWidget* parent)
|
|||
protected:
|
||||
void keyPressEvent(QKeyEvent* event) override
|
||||
{
|
||||
if (event->key() == Qt::Key_Escape) {
|
||||
if (event->key() == Qt::Key_Escape)
|
||||
{
|
||||
undo();
|
||||
clearFocus();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user