From 43c1ce80bc5faf16fe9d86c4685512659f5180bc Mon Sep 17 00:00:00 2001 From: zecke Date: Sat, 29 May 2004 18:43:13 +0000 Subject: Make Enabled/Disabled work. Problem was /home/ich/foo//plugins/foo where /home/ich/foo/ was OPIEDIR and we added / --- (limited to 'libopie2') diff --git a/libopie2/opiecore/opluginloader.cpp b/libopie2/opiecore/opluginloader.cpp index 3d286e5..e7eddc2 100644 --- a/libopie2/opiecore/opluginloader.cpp +++ b/libopie2/opiecore/opluginloader.cpp @@ -281,7 +281,7 @@ OGenericPluginLoader::OGenericPluginLoader( const QString& name, bool isSorted) : m_dir( name ), m_autoDelete( false ), m_isSafeMode( false ), m_isSorted( isSorted ) { - setPluginDir( QPEApplication::qpeDir() + "/plugins/"+name ); + setPluginDir( QPEApplication::qpeDir() + "plugins/"+name ); readConfig(); } @@ -533,6 +533,7 @@ OPluginItem::List OGenericPluginLoader::plugins( const QString& _dir, bool sorte QDir dir( _dir, "lib*.so" ); #endif + OPluginItem::List lst; /* -- cgit v0.9.0.2