Skip to content
Permalink
Browse files
No brace init
  • Loading branch information
elpaso authored and nyalldawson committed Jun 13, 2021
1 parent 2fff67a commit 2f25d85dbd01bfadab35651f6c903c24fee826e5
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/src/core/testqgsexpression.cpp
@@ -3959,15 +3959,15 @@ class TestQgsExpression: public QObject

void test_formatPreviewStringWithLocale()
{
const QVariant t_int { 12345 };
const QVariant t_int( 12345 );
QVariant t_uint( QVariant::UInt );
t_uint = 12345;
QVariant t_long( QVariant::LongLong );
t_long = 12345;
QVariant t_ulong( QVariant::ULongLong );
t_ulong = 12345;
const QVariant t_float { 12345.001F };
const QVariant t_double { 12345.001 };
const QVariant t_float( 12345.001F );
const QVariant t_double( 12345.001 );

QLocale().setDefault( QLocale::English );

0 comments on commit 2f25d85

Please sign in to comment.