Qt5 issues fixed

This commit is contained in:
Uwe Rathmann 2023-03-10 16:31:26 +01:00
parent 560cc607c9
commit 281ab9bff0
3 changed files with 5 additions and 7 deletions

View File

@ -71,10 +71,8 @@ namespace
class Editor : private QskSkinHintTableEditor
{
public:
Editor( const QskSkin* skin, QskSkinHintTable* table,
const QskMaterial3Theme& palette )
Editor( QskSkinHintTable* table, const QskMaterial3Theme& palette )
: QskSkinHintTableEditor( table )
, m_skin( skin )
, m_pal( palette )
{
}
@ -123,7 +121,6 @@ namespace
setSymbol( aspect, QskStandardSymbol::graphic( symbolType ) );
}
const QskSkin* m_skin;
const QskMaterial3Theme& m_pal;
};
@ -1335,7 +1332,7 @@ QskMaterial3Skin::QskMaterial3Skin( const QskMaterial3Theme& palette, QObject* p
setupFonts();
setupGraphicFilters( palette );
Editor editor( this, &hintTable(), palette );
Editor editor( &hintTable(), palette );
editor.setup();
}

View File

@ -68,7 +68,7 @@ QskHashValue QskLabelData::hash( QskHashValue seed ) const
return m_icon.hash( hash );
}
QVector< QskLabelData > qskCreateLabelData( const QVector< QString >& list )
QVector< QskLabelData > qskCreateLabelData( const QStringList& list )
{
QVector< QskLabelData > labelData;
labelData.reserve( list.size() );

View File

@ -10,6 +10,7 @@
#include "QskIcon.h"
#include <qstring.h>
#include <qstringlist.h>
#include <qvector.h>
#include <qmetatype.h>
#include <qdebug.h>
@ -70,7 +71,7 @@ inline bool QskLabelData::operator!=( const QskLabelData& other ) const noexcept
return ( !( *this == other ) );
}
QSK_EXPORT QVector< QskLabelData > qskCreateLabelData( const QVector< QString >& );
QSK_EXPORT QVector< QskLabelData > qskCreateLabelData( const QStringList& );
#ifndef QT_NO_DEBUG_STREAM