making clang happier
This commit is contained in:
parent
aaab3832fc
commit
02ea027ca8
|
@ -12,7 +12,7 @@
|
||||||
#include <Qt>
|
#include <Qt>
|
||||||
|
|
||||||
class QskMetaFunction;
|
class QskMetaFunction;
|
||||||
class QMetaObject;
|
struct QMetaObject;
|
||||||
class QMetaMethod;
|
class QMetaMethod;
|
||||||
class QMetaProperty;
|
class QMetaProperty;
|
||||||
class QObject;
|
class QObject;
|
||||||
|
|
|
@ -29,7 +29,7 @@ class QskFocusIndicator::PrivateData
|
||||||
public:
|
public:
|
||||||
void resetConnections()
|
void resetConnections()
|
||||||
{
|
{
|
||||||
for ( const auto connection : connections )
|
for ( const auto& connection : connections )
|
||||||
QObject::disconnect( connection );
|
QObject::disconnect( connection );
|
||||||
|
|
||||||
connections.clear();
|
connections.clear();
|
||||||
|
|
|
@ -58,12 +58,12 @@ namespace
|
||||||
without having to load the plugin itself
|
without having to load the plugin itself
|
||||||
*/
|
*/
|
||||||
|
|
||||||
constexpr QLatin1String TokenInterfaceId( "IID" );
|
const QLatin1String TokenInterfaceId( "IID" );
|
||||||
constexpr QLatin1String TokenData( "MetaData" );
|
const QLatin1String TokenData( "MetaData" );
|
||||||
constexpr QLatin1String TokenFactoryId( "FactoryId" );
|
const QLatin1String TokenFactoryId( "FactoryId" );
|
||||||
constexpr QLatin1String TokenSkins( "Skins" );
|
const QLatin1String TokenSkins( "Skins" );
|
||||||
|
|
||||||
constexpr QLatin1String InterfaceId( QskSkinFactoryIID );
|
const QLatin1String InterfaceId( QskSkinFactoryIID );
|
||||||
|
|
||||||
const auto pluginData = metaData();
|
const auto pluginData = metaData();
|
||||||
if ( pluginData.value( TokenInterfaceId ) == InterfaceId )
|
if ( pluginData.value( TokenInterfaceId ) == InterfaceId )
|
||||||
|
|
|
@ -50,8 +50,6 @@ QString qskNativeLocaleString( const QLocale& locale )
|
||||||
default:
|
default:
|
||||||
return QStringLiteral( "English (UK)" );
|
return QStringLiteral( "English (UK)" );
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
case QLocale::Spanish:
|
case QLocale::Spanish:
|
||||||
|
|
Loading…
Reference in New Issue