beautified

This commit is contained in:
Uwe Rathmann 2018-07-05 13:02:25 +02:00
parent 73d911cee2
commit 852504da05

View File

@ -62,7 +62,7 @@ static inline QVariant qskAligned05( const QVariant& value )
{ {
for ( int i = Qt::TopLeftCorner; i <= Qt::BottomRightCorner; i++ ) for ( int i = Qt::TopLeftCorner; i <= Qt::BottomRightCorner; i++ )
{ {
const auto corner = static_cast<Qt::Corner>( i ); const auto corner = static_cast< Qt::Corner >( i );
metrics.setRadius( corner, qskAligned05( metrics.radius( corner ) ) ); metrics.setRadius( corner, qskAligned05( metrics.radius( corner ) ) );
} }
@ -80,7 +80,7 @@ static inline QVariant qskAligned05( const QVariant& value )
#endif #endif
static inline bool qskCheckReceiverThread( const QObject *receiver ) static inline bool qskCheckReceiverThread( const QObject* receiver )
{ {
/* /*
QskInputPanelSkinlet changes the skin state, what leads to QskInputPanelSkinlet changes the skin state, what leads to
@ -89,7 +89,7 @@ static inline bool qskCheckReceiverThread( const QObject *receiver )
in QCoreApplication::sendEvent in QCoreApplication::sendEvent
*/ */
const QThread *thread = receiver->thread(); const QThread* thread = receiver->thread();
if ( thread == nullptr ) if ( thread == nullptr )
return true; return true;
@ -146,7 +146,7 @@ namespace
AnimatorGuard() AnimatorGuard()
{ {
QskAnimator::addCleanupHandler( this, QskAnimator::addCleanupHandler( this,
SLOT( cleanup() ), Qt::QueuedConnection ); SLOT(cleanup()), Qt::QueuedConnection );
} }
void registerTable( QskHintAnimatorTable* table ) void registerTable( QskHintAnimatorTable* table )