-rw-r--r-- | libopie2/opiecore/opluginloader.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ -280,9 +280,9 @@ void OPluginItem::setPosition( int pos ) { 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(); } @@ -532,8 +532,9 @@ OPluginItem::List OGenericPluginLoader::plugins( const QString& _dir, bool sorte #else QDir dir( _dir, "lib*.so" ); #endif + OPluginItem::List lst; /* * get excluded list and then iterate over them |