making clazy happier
This commit is contained in:
parent
b572c23561
commit
eeb9e04b60
@ -119,7 +119,7 @@ static inline void qskSetVisualizationMode(
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline QByteArray qskVisualizationMode( const QQuickWindow* window )
|
static inline const QByteArray& qskVisualizationMode( const QQuickWindow* window )
|
||||||
{
|
{
|
||||||
auto d = QQuickWindowPrivate::get( const_cast< QQuickWindow* >( window ) );
|
auto d = QQuickWindowPrivate::get( const_cast< QQuickWindow* >( window ) );
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK( 6, 0, 0 )
|
#if QT_VERSION >= QT_VERSION_CHECK( 6, 0, 0 )
|
||||||
@ -208,7 +208,8 @@ void QskWindow::setScreen( const QString& name )
|
|||||||
{
|
{
|
||||||
if ( !name.isEmpty() )
|
if ( !name.isEmpty() )
|
||||||
{
|
{
|
||||||
for ( auto screen : QGuiApplication::screens() )
|
const auto screens = QGuiApplication::screens();
|
||||||
|
for ( auto screen : screens )
|
||||||
{
|
{
|
||||||
if ( screen->name() == name )
|
if ( screen->name() == name )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user