making clazy happier
This commit is contained in:
parent
115141bc21
commit
73f11cffd9
@ -169,7 +169,7 @@ class QskMenuSkinlet::PrivateData
|
||||
const auto sample = skinlet->sampleAt( menu, QskMenu::Text, i );
|
||||
if ( sample.canConvert< QString >() )
|
||||
{
|
||||
const auto text = sample.value< QString >();
|
||||
const auto text = sample.toString();
|
||||
if( !text.isEmpty() )
|
||||
{
|
||||
const auto w = qskHorizontalAdvance( fm, text );
|
||||
|
@ -1,3 +1,8 @@
|
||||
/******************************************************************************
|
||||
* QSkinny - Copyright (C) 2016 Uwe Rathmann
|
||||
* This file may be used under the terms of the QSkinny License, Version 1.0
|
||||
*****************************************************************************/
|
||||
|
||||
#include "QskSkinTransition.h"
|
||||
#include "QskColorFilter.h"
|
||||
#include "QskControl.h"
|
||||
@ -40,7 +45,8 @@ namespace
|
||||
public:
|
||||
AnimatorCandidate() = default;
|
||||
|
||||
inline AnimatorCandidate( QskAspect aspect, QVariant from, QVariant to )
|
||||
inline AnimatorCandidate( QskAspect aspect,
|
||||
const QVariant& from, const QVariant& to )
|
||||
: aspect( aspect )
|
||||
, from( from )
|
||||
, to( to )
|
||||
|
Loading…
x
Reference in New Issue
Block a user