media->file in error message, when image upload fails
This commit is contained in:
parent
50c3d4ed3a
commit
dbb8eecf29
13 changed files with 48 additions and 183 deletions
|
|
@ -183,7 +183,7 @@ UserProfile::UserProfile(QWidget *parent)
|
|||
|
||||
qRegisterMetaType<std::vector<DeviceInfo>>();
|
||||
|
||||
auto closeShortcut = new QShortcut(QKeySequence(tr("ESC")), this);
|
||||
auto closeShortcut = new QShortcut(QKeySequence(QKeySequence::Cancel), this);
|
||||
connect(closeShortcut, &QShortcut::activated, this, &UserProfile::close);
|
||||
connect(okBtn, &QPushButton::clicked, this, &UserProfile::close);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue