summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
m---------src/3rdparty0
-rw-r--r--src/core/printing/print_view_manager_base_qt.cpp5
2 files changed, 5 insertions, 0 deletions
diff --git a/src/3rdparty b/src/3rdparty
-Subproject 24fe4f7088e51adf8a06d666c488c993e8295e0
+Subproject c8087cb6809935ccb128f9b6fe8507a5c0a6958
diff --git a/src/core/printing/print_view_manager_base_qt.cpp b/src/core/printing/print_view_manager_base_qt.cpp
index ad35209f1..fe365df53 100644
--- a/src/core/printing/print_view_manager_base_qt.cpp
+++ b/src/core/printing/print_view_manager_base_qt.cpp
@@ -254,6 +254,11 @@ void PrintViewManagerBaseQt::GetDefaultPrintSettings(GetDefaultPrintSettingsCall
void PrintViewManagerBaseQt::PrintingFailed(int32_t cookie)
{
+ // Note: Not redundant with cookie checks in the same method in other parts of
+ // the class hierarchy.
+ if (!IsValidCookie(cookie))
+ return;
+
PrintManager::PrintingFailed(cookie);
ReleasePrinterQuery();