mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-26 01:26:42 -05:00
Use KMessageWidget also for new error messages
This commit is contained in:
parent
b6ea06ba24
commit
41d5111684
5 changed files with 23 additions and 23 deletions
|
|
@ -704,8 +704,7 @@ void EditEntryWidget::openAttachment(const QModelIndex& index)
|
|||
}
|
||||
|
||||
if (!file->flush()) {
|
||||
MessageBox::warning(this, tr("Error"),
|
||||
tr("Unable to save the attachment:\n").append(file->errorString()));
|
||||
showMessage(tr("Unable to save the attachment:\n").append(file->errorString()), MessageWidget::Error);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue