From bfd4fc807ed8f294cf94456100fe162e71cd1e37 Mon Sep 17 00:00:00 2001 From: Rainer Clasen Date: Mon, 24 Jun 2013 23:39:04 +0200 Subject: [PATCH] make srmio details in version dialog conditionally ... so that GC keeps building with older srmio versions. --- src/GcCrashDialog.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/GcCrashDialog.cpp b/src/GcCrashDialog.cpp index 47fc2e5c1..de168f54f 100644 --- a/src/GcCrashDialog.cpp +++ b/src/GcCrashDialog.cpp @@ -145,7 +145,11 @@ QString GcCrashDialog::versionHTML() QString srmio = "none"; #ifdef GC_HAVE_SRMIO - srmio = QString("%1 %2").arg(QString(srmio_version).replace("srmio ", "")).arg(srmio_commit); + #ifdef SRMIO_VERSION + srmio = QString("%1 %2").arg(SRMIO_VERSION).arg(srmio_commit); + #else + srmio = "yes"; + #endif #endif // -- D2XX ----