-rw-r--r-- | microkde/kresources/factory.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/microkde/kresources/factory.cpp b/microkde/kresources/factory.cpp index 5fbfa68..4843ce0 100644 --- a/microkde/kresources/factory.cpp +++ b/microkde/kresources/factory.cpp | |||
@@ -138,6 +138,19 @@ Factory::Factory( const QString& resourceFamily) : | |||
138 | } | 138 | } |
139 | 139 | ||
140 | 140 | ||
141 | //LR add ol plugin only, if the library exists. | ||
142 | libname = "microkabc_olaccess"; | ||
143 | path = KLibLoader::findLibrary( QFile::encodeName( libname ) ); | ||
144 | if ( !path.isEmpty() ) | ||
145 | { | ||
146 | info = new PluginInfo; | ||
147 | info->library = libname; | ||
148 | info->nameLabel = i18n( "sharp" ); | ||
149 | info->descriptionLabel = i18n( "Outlook Addressbook." ); | ||
150 | mTypeMap.insert( "olaccess", info ); | ||
151 | } | ||
152 | |||
153 | |||
141 | } | 154 | } |
142 | 155 | ||
143 | Factory::~Factory() | 156 | Factory::~Factory() |