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