From 84ab47055dcfb9cf1bb11a22c8ab6de3fb0819b7 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Thu, 22 Jun 2023 15:01:37 +0300 Subject: Make TWin look for `twin_` libraries This is now the preferred way of calling the decoration libraries (in place of `twin3_`). The old names that start with `twin3_` are still recognized for compatibility reasons. This resolves issue #351. Signed-off-by: Mavridis Philippe --- twin/lib/kdecoration_plugins_p.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'twin/lib/kdecoration_plugins_p.cpp') diff --git a/twin/lib/kdecoration_plugins_p.cpp b/twin/lib/kdecoration_plugins_p.cpp index 0e2bc0d04..5f6cdd8f5 100644 --- a/twin/lib/kdecoration_plugins_p.cpp +++ b/twin/lib/kdecoration_plugins_p.cpp @@ -98,9 +98,6 @@ bool KDecorationPlugins::loadPlugin( TQString nameStr ) TDEConfigGroupSaver saver( config, "Style" ); nameStr = config->readEntry("PluginLib", defaultPlugin ); } - // make sure people can switch between HEAD and twin_iii branch - if( nameStr.startsWith( "twin_" )) - nameStr = "twin3_" + nameStr.mid( 5 ); KLibrary *oldLibrary = library; KDecorationFactory* oldFactory = fact; -- cgit v1.2.1