[licale] Fix build with DEBUG_TIMEZONES

- QLatin1String isn't a constexpr; the whole ZONE is a bit derpy,
  so let's just #define it.
This commit is contained in:
Adriaan de Groot 2020-04-14 11:26:03 +02:00
parent 05990fb287
commit 022e62b829

View File

@ -37,7 +37,7 @@ constexpr static double MATH_PI = 3.14159265;
#ifdef DEBUG_TIMEZONES
// Adds a label to the timezone with this name
constexpr static QLatin1String ZONE_NAME( "zone" );
#define ZONE_NAME QStringLiteral( "zone" )
#endif
TimeZoneWidget::TimeZoneWidget( QWidget* parent )