Commit 6cf45a71 authored by David Faure's avatar David Faure

Fix compilation (although I think the kedittoolbar api change needs rethinking)

svn path=/trunk/koffice/; revision=649292
parent 58eda4f2
......@@ -571,7 +571,7 @@ bool KoFilterManager::filterAvailable( KoFilterEntry::Ptr entry )
// This code is "borrowed" from klibloader ;)
QByteArray symname = "check_" + library->name().toLatin1();
void* sym = library->symbol( symname );
KLibrary::void_function_ptr sym = library->resolveFunction( symname );
if ( !sym )
{
kWarning( 30500 ) << "The library " << library->name()
......
......@@ -1339,7 +1339,7 @@ void KoMainWindow::slotConfigureToolbars()
{
if (rootDocument())
saveMainWindowSettings( KGlobal::config()->group( rootDocument()->componentData().componentName() ) );
KEditToolBar edit(factory(), this);
KEditToolBar edit(factory(), QString(), this);
connect(&edit,SIGNAL(newToolbarConfig()),this,SLOT(slotNewToolbarConfig()));
(void) edit.exec();
}
......
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