diff --git a/src/common/QskMetaInvokable.h b/src/common/QskMetaInvokable.h index beff91ce..63f06b84 100644 --- a/src/common/QskMetaInvokable.h +++ b/src/common/QskMetaInvokable.h @@ -12,7 +12,7 @@ #include class QskMetaFunction; -class QMetaObject; +struct QMetaObject; class QMetaMethod; class QMetaProperty; class QObject; diff --git a/src/controls/QskFocusIndicator.cpp b/src/controls/QskFocusIndicator.cpp index 57eb9b40..433ce56e 100644 --- a/src/controls/QskFocusIndicator.cpp +++ b/src/controls/QskFocusIndicator.cpp @@ -29,7 +29,7 @@ class QskFocusIndicator::PrivateData public: void resetConnections() { - for ( const auto connection : connections ) + for ( const auto& connection : connections ) QObject::disconnect( connection ); connections.clear(); diff --git a/src/controls/QskSkinManager.cpp b/src/controls/QskSkinManager.cpp index 60afa1b4..0c5d83d6 100644 --- a/src/controls/QskSkinManager.cpp +++ b/src/controls/QskSkinManager.cpp @@ -58,12 +58,12 @@ namespace without having to load the plugin itself */ - constexpr QLatin1String TokenInterfaceId( "IID" ); - constexpr QLatin1String TokenData( "MetaData" ); - constexpr QLatin1String TokenFactoryId( "FactoryId" ); - constexpr QLatin1String TokenSkins( "Skins" ); + const QLatin1String TokenInterfaceId( "IID" ); + const QLatin1String TokenData( "MetaData" ); + const QLatin1String TokenFactoryId( "FactoryId" ); + const QLatin1String TokenSkins( "Skins" ); - constexpr QLatin1String InterfaceId( QskSkinFactoryIID ); + const QLatin1String InterfaceId( QskSkinFactoryIID ); const auto pluginData = metaData(); if ( pluginData.value( TokenInterfaceId ) == InterfaceId ) diff --git a/src/inputpanel/QskInputPanel.cpp b/src/inputpanel/QskInputPanel.cpp index 70878579..413c7383 100644 --- a/src/inputpanel/QskInputPanel.cpp +++ b/src/inputpanel/QskInputPanel.cpp @@ -50,8 +50,6 @@ QString qskNativeLocaleString( const QLocale& locale ) default: return QStringLiteral( "English (UK)" ); } - - break; } case QLocale::Spanish: