[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [krita/akamakin/T8628-multithreading-optimization] libs/ui: Improve error message in dialog when sav
From: Andrey Kamakin <null () kde ! org>
Date: 2018-07-19 11:20:34
Message-ID: E1fg6z4-0005ss-Ge () code ! kde ! org
[Download RAW message or body]
Git commit 86f54464bffdae498db53686b8817e7d3b1dda6a by Andrey Kamakin, on behalf of \
Victor Wåhlström. Committed on 19/07/2018 at 11:14.
Pushed by akamakin into branch 'akamakin/T8628-multithreading-optimization'.
Improve error message in dialog when saving fails and no custom error message has \
been provided
M +1 -1 libs/ui/KisDocument.cpp
https://commits.kde.org/krita/86f54464bffdae498db53686b8817e7d3b1dda6a
diff --git a/libs/ui/KisDocument.cpp b/libs/ui/KisDocument.cpp
index cf7e6907660..feee2b1007b 100644
--- a/libs/ui/KisDocument.cpp
+++ b/libs/ui/KisDocument.cpp
@@ -622,7 +622,7 @@ void KisDocument::slotCompleteSavingDocument(const \
KritaUtils::ExportFileJob &jo
if (!fileBatchMode()) {
const QString filePath = job.filePath;
- QMessageBox::critical(0, i18nc("@title:window", "Krita"), i18n("Could \
not save %1\nReason: %2", filePath, errorMessage)); + \
QMessageBox::critical(0, i18nc("@title:window", "Krita"), i18n("Could not save \
%1\nReason: %2", filePath, exportErrorToUserMessage(status, errorMessage))); }
} else {
if (!(job.flags & KritaUtils::SaveIsExporting)) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic