example was broken with the different sorting of the skins. Solved by
unregistering the skin factory of the support lib
This commit is contained in:
parent
4c190ffe49
commit
47fc994c70
@ -141,6 +141,8 @@ int main( int argc, char* argv[] )
|
|||||||
Qsk::addGraphicProvider( "shapes", new SkinnyShapeProvider() );
|
Qsk::addGraphicProvider( "shapes", new SkinnyShapeProvider() );
|
||||||
|
|
||||||
qskSkinManager->setPluginPaths( QStringList() ); // no plugins
|
qskSkinManager->setPluginPaths( QStringList() ); // no plugins
|
||||||
|
qskSkinManager->unregisterFactories(); // get rid of the factories of the support lib
|
||||||
|
|
||||||
qskSkinManager->registerFactory(
|
qskSkinManager->registerFactory(
|
||||||
QStringLiteral( "MySkinFactory" ), new MySkinFactory() );
|
QStringLiteral( "MySkinFactory" ), new MySkinFactory() );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user