[libcalamares] Don't reformat string tables in GeoIP

This commit is contained in:
Adriaan de Groot 2019-08-08 11:56:20 +02:00
parent 81fa1735b1
commit 6e9f1be9e9

View File

@ -38,11 +38,15 @@ handlerTypes()
{ {
using Type = CalamaresUtils::GeoIP::Handler::Type; using Type = CalamaresUtils::GeoIP::Handler::Type;
// *INDENT-OFF*
// clang-format off
static const NamedEnumTable<Type> names{ static const NamedEnumTable<Type> names{
{ QStringLiteral( "none" ), Type::None}, { QStringLiteral( "none" ), Type::None },
{ QStringLiteral( "json" ), Type::JSON}, { QStringLiteral( "json" ), Type::JSON },
{ QStringLiteral( "xml" ), Type::XML} { QStringLiteral( "xml" ), Type::XML }
}; };
// *INDENT-ON*
// clang-format on
return names; return names;
} }