From 4e6c3ead4110c42e23642cce8b745d6990e1fcf2 Mon Sep 17 00:00:00 2001 From: baldurk Date: Tue, 7 Aug 2018 11:43:03 +0100 Subject: [PATCH] Nudge users reporting bugs on old builds to update to the latest version --- qrenderdoc/Windows/Dialogs/CrashDialog.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/qrenderdoc/Windows/Dialogs/CrashDialog.cpp b/qrenderdoc/Windows/Dialogs/CrashDialog.cpp index 42ce05ec4..abfa57def 100644 --- a/qrenderdoc/Windows/Dialogs/CrashDialog.cpp +++ b/qrenderdoc/Windows/Dialogs/CrashDialog.cpp @@ -122,6 +122,14 @@ CrashDialog::CrashDialog(PersistantConfig &cfg, QVariantMap crashReportJSON, QWi tr("

RenderDoc encountered a serious problem. Please take a moment to look over this " "form and send it off so that RenderDoc can get better!

"); + if(m_Config.CheckUpdate_UpdateAvailable) + { + text += + tr("

An updated version of RenderDoc is " + "available. This bug may be fixed in a newer version, it's advised that you " + "update to see if the bug is fixed.

"); + } + text += tr("

The contents of the report can be found in this zip which " "you can edit/censor if you wish.

") .arg(QUrl::fromLocalFile(m_ReportPath).toString());