From 47fc994c70ca4aafcfb364adeaf2520f55da94e8 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Mon, 29 Aug 2022 10:28:38 +0200 Subject: [PATCH] example was broken with the different sorting of the skins. Solved by unregistering the skin factory of the support lib --- examples/mycontrols/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/mycontrols/main.cpp b/examples/mycontrols/main.cpp index 7102c1a7..cc19f7a2 100644 --- a/examples/mycontrols/main.cpp +++ b/examples/mycontrols/main.cpp @@ -141,6 +141,8 @@ int main( int argc, char* argv[] ) Qsk::addGraphicProvider( "shapes", new SkinnyShapeProvider() ); qskSkinManager->setPluginPaths( QStringList() ); // no plugins + qskSkinManager->unregisterFactories(); // get rid of the factories of the support lib + qskSkinManager->registerFactory( QStringLiteral( "MySkinFactory" ), new MySkinFactory() );