From db3dca69587183ce6d7e510c3de463bb3917a485 Mon Sep 17 00:00:00 2001 From: Patrick Proy Date: Sat, 31 May 2014 21:27:59 +0200 Subject: [PATCH] define SCASSERT in release verion --HG-- branch : DialogTools --- src/app/options.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/options.h b/src/app/options.h index 53cdb7c61..9f734f0e6 100644 --- a/src/app/options.h +++ b/src/app/options.h @@ -341,6 +341,8 @@ extern const QString in_Oprt; } \ #endif /* Q_OS_WIN32 */ +#else // define but disable this function if debugging is not set +#define SCASSERT(cond) #endif /* QT_NO_DEBUG */ #endif // OPTIONS_H