From fe1b6e750aa2ea0fd1ff3595b03e76b9bf4f6fdc Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Wed, 12 Jul 2006 17:19:26 +0000 Subject: [PATCH] query for a property using the right way svn path=/trunk/playground/graphics/okular/; revision=561606 --- core/document.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/document.cpp b/core/document.cpp index 89da17c11..ef768ab88 100644 --- a/core/document.cpp +++ b/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;