query for a property using the right way

svn path=/trunk/playground/graphics/okular/; revision=561606
remotes/origin/old/work/newpageview
Pino Toscano 20 years ago
parent 1154dd1c8f
commit fe1b6e750a
  1. 2
      core/document.cpp

@ -226,7 +226,7 @@ bool KPDFDocument::openDocument( const QString & docFile, const KUrl& url, const
kWarning() << "Sth broke." << endl;
return false;
}
if ( offers[hRank]->property("[X-KDE-okularHasInternalSettings]").toBool() )
if ( offers.at(hRank)->property( "X-KDE-okularHasInternalSettings" ).toBool() )
{
m_loadedGenerators->insert(propName,generator);
m_usingCachedGenerator=true;

Loading…
Cancel
Save