From 92cc98024104c74b3d41eefa22dc078e09091995 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Sat, 30 Aug 2003 18:02:59 +0000 Subject: [PATCH] Make sure people can switch between HEAD and kwin_iii. svn path=/trunk/kdebase/kwin/; revision=246934 --- plugins.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins.cpp b/plugins.cpp index 05f00b1ed0..3a0edb248a 100644 --- a/plugins.cpp +++ b/plugins.cpp @@ -80,6 +80,10 @@ Client* PluginMgr::createClient(Workspace *ws, WId w, NET::WindowType type) // returns true if plugin was loaded successfully bool PluginMgr::loadPlugin(QString nameStr) { + // make sure people can switch between HEAD and kwin_iii branch + if( nameStr.startsWith( "kwin3_" )) + nameStr = "kwin_" + nameStr.mid( 6 ); + KLibrary *oldLibrary = library; QString path = KLibLoader::findLibrary(QFile::encodeName(nameStr));