trailing spaces removed

This commit is contained in:
Uwe Rathmann 2018-03-22 11:20:13 +01:00
parent fc63f316b4
commit bc200c879e
1 changed files with 5 additions and 5 deletions

View File

@ -422,7 +422,7 @@ bool QskSkin::hasGraphicProvider() const
return m_data->graphicProviders.size() > 0; return m_data->graphicProviders.size() > 0;
} }
const int *QskSkin::dialogButtonLayout( Qt::Orientation orientation ) const const int* QskSkin::dialogButtonLayout( Qt::Orientation orientation ) const
{ {
//auto policy = QPlatformDialogHelper::UnknownLayout; //auto policy = QPlatformDialogHelper::UnknownLayout;
auto policy = QPlatformDialogHelper::WinLayout; auto policy = QPlatformDialogHelper::WinLayout;
@ -430,7 +430,7 @@ const int *QskSkin::dialogButtonLayout( Qt::Orientation orientation ) const
if ( const QPlatformTheme* theme = QGuiApplicationPrivate::platformTheme() ) if ( const QPlatformTheme* theme = QGuiApplicationPrivate::platformTheme() )
{ {
const QVariant v = theme->themeHint( QPlatformTheme::DialogButtonBoxLayout ); const QVariant v = theme->themeHint( QPlatformTheme::DialogButtonBoxLayout );
policy = static_cast<QPlatformDialogHelper::ButtonLayout>( v.toInt() ); policy = static_cast< QPlatformDialogHelper::ButtonLayout >( v.toInt() );
} }
return QPlatformDialogHelper::buttonLayout( orientation, policy ); return QPlatformDialogHelper::buttonLayout( orientation, policy );