Commit cba63bd6 authored by Pino Toscano's avatar Pino Toscano

Pass the plugin keyword when creating generators.

This should make the Ruby binding work again.

BUG: 177537

svn path=/trunk/KDE/kdegraphics/okular/; revision=895926
parent 25508988
......@@ -523,7 +523,7 @@ Generator * DocumentPrivate::loadGeneratorLibrary( const KService::Ptr &service
kWarning(OkularDebug).nospace() << "Invalid plugin factory for " << service->library() << "!";
return 0;
}
Generator * generator = factory->create< Okular::Generator >( 0 );
Generator * generator = factory->create< Okular::Generator >( service->pluginKeyword(), 0 );
GeneratorInfo info( factory->componentData() );
info.generator = generator;
if ( info.data.isValid() && info.data.aboutData() )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment