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
This commit is contained in:
Matthias Ettrich 2002-03-05 19:02:24 +00:00
parent 149b3aad7d
commit d05c588ffb

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));