part of Karol's fix: keep the old library in loadPlugin() so that

updatePlugin() can call the reset() function.

svn path=/trunk/kdebase/kwin/; revision=141202
icc-effect-5.14.5
Matthias Ettrich 2002-03-05 19:02:24 +00:00
parent 149b3aad7d
commit d05c588ffb
1 changed files with 2 additions and 3 deletions

View File

@ -75,7 +75,6 @@ Client* PluginMgr::allocateClient(Workspace *ws, WId w, bool tool)
bool PluginMgr::loadPlugin(QString nameStr)
{
KLibrary *oldLibrary = library;
library = 0;
QString path = KLibLoader::findLibrary(QFile::encodeName(nameStr));