using QStringLiteral
This commit is contained in:
parent
b1ac6fed57
commit
c3eb20ee98
@ -114,8 +114,8 @@ namespace
|
||||
static inline QskGradientStop qskToGradientStop( const QJSValue& value )
|
||||
{
|
||||
return QskGradientStop(
|
||||
value.property( QLatin1String( "position" ) ).toNumber(),
|
||||
value.property( QLatin1String( "color" ) ).toVariant().value< QColor >()
|
||||
value.property( QStringLiteral( "position" ) ).toNumber(),
|
||||
value.property( QStringLiteral( "color" ) ).toVariant().value< QColor >()
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -785,7 +785,7 @@ QskMaterialSkin::QskMaterialSkin( QObject* parent )
|
||||
QskRgb::Blue500, QskRgb::White );
|
||||
|
||||
// Default theme colors
|
||||
setupFonts( "Roboto" );
|
||||
setupFonts( QStringLiteral( "Roboto" ) );
|
||||
|
||||
auto buttonFont = font( QskSkin::DefaultFont );
|
||||
buttonFont.setCapitalization( QFont::AllUppercase );
|
||||
|
@ -941,7 +941,7 @@ QskSquiekSkin::QskSquiekSkin( QObject* parent )
|
||||
: Inherited( parent )
|
||||
, m_data( new PrivateData() )
|
||||
{
|
||||
setupFonts( "DejaVuSans" );
|
||||
setupFonts( QStringLiteral( "DejaVuSans" ) );
|
||||
|
||||
Editor editor( &hintTable(), m_data->palette );
|
||||
editor.setup();
|
||||
|
Loading…
x
Reference in New Issue
Block a user