[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:
parent
05990fb287
commit
022e62b829
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user