trailing spaces removed
This commit is contained in:
parent
fc63f316b4
commit
bc200c879e
|
@ -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 );
|
||||||
|
|
Loading…
Reference in New Issue