bautified

This commit is contained in:
Uwe Rathmann 2017-11-02 16:27:59 +01:00
parent 33efb2d17a
commit 0d63bedf70

View File

@ -128,7 +128,7 @@ QskWindow::~QskWindow()
// unefficient way, leading to lots of QQuickItem::ItemChildRemovedChange // unefficient way, leading to lots of QQuickItem::ItemChildRemovedChange
// depending operations. So let's remove the toplevel children manually. // depending operations. So let's remove the toplevel children manually.
QList<QQuickItem *> items; QList< QQuickItem* > items;
const auto children = contentItem()->childItems(); const auto children = contentItem()->childItems();
for ( auto child : children ) for ( auto child : children )
@ -400,7 +400,7 @@ void QskWindow::setCustomRenderMode( const char* mode )
class RenderJob final : public QRunnable class RenderJob final : public QRunnable
{ {
public: public:
RenderJob( QQuickWindow* window, const QByteArray mode ) : RenderJob( QQuickWindow* window, const QByteArray mode ):
m_window( window ), m_window( window ),
m_mode( mode ) m_mode( mode )
{ {
@ -497,7 +497,7 @@ void QskWindow::resizeFramebuffer()
const auto samples = format().samples(); const auto samples = format().samples();
if ( samples && QOpenGLExtensions( openglContext() ).hasOpenGLExtension( if ( samples && QOpenGLExtensions( openglContext() ).hasOpenGLExtension(
QOpenGLExtensions::FramebufferMultisample ) ) QOpenGLExtensions::FramebufferMultisample ) )
{ {
renderTargetFormat.setSamples( format().samples() ); renderTargetFormat.setSamples( format().samples() );
} }