typos fixed

This commit is contained in:
Uwe Rathmann 2017-09-05 12:48:58 +02:00
parent 67df39f599
commit abf9b1763e
2 changed files with 21 additions and 21 deletions

View File

@ -4,7 +4,7 @@
*****************************************************************************/
#ifndef QSK_BORDER_METRICS_H
#define QSK_BORDER_HINTS_H
#define QSK_BORDER_METRICS_H
#include "QskGlobal.h"
#include "QskMargins.h"

View File

@ -643,12 +643,6 @@ void QskSkinnable::startTransition( QskAspect::Aspect aspect,
if ( control->window() == nullptr || !control->isInitiallyPainted() )
return;
if ( from == to )
{
return;
}
else
{
// We might be invalid for one of the values, when an aspect
// has not been defined for all states ( f.e. metrics are expected
// to fallback to 0.0 ). In this case we create a default one.
@ -665,7 +659,6 @@ void QskSkinnable::startTransition( QskAspect::Aspect aspect,
{
return;
}
}
if( aspect.flagPrimitive() == QskAspect::GraphicRole )
{
@ -706,6 +699,13 @@ void QskSkinnable::setSkinStateFlag( QskAspect::State state, bool on )
return;
QskControl* control = owningControl();
#if 0
qDebug() << control->className() << ":"
<< skinStateAsPrintable( m_data->skinState ) << "->"
<< skinStateAsPrintable( newState );
#endif
if ( control->window() && control->isInitiallyPainted() )
{
for ( const auto entry : m_data->hintTable.hints() )