Use KMessageWidget also for new error messages

This commit is contained in:
Janek Bevendorff
2017-01-15 01:44:48 +01:00
parent b6ea06ba24
commit 41d5111684
5 changed files with 23 additions and 23 deletions

View File

@@ -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;
}