From 5fd6ef5d7ca21df0e230ef9f4efefdf70c1b3b7a Mon Sep 17 00:00:00 2001 From: Tobias Koenig Date: Sun, 10 Feb 2008 20:47:13 +0000 Subject: [PATCH] Remove unneeded code, if we don't have a creator, don't tell okular about it. svn path=/trunk/KDE/kdegraphics/okular/; revision=773347 --- generators/fictionbook/converter.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/generators/fictionbook/converter.cpp b/generators/fictionbook/converter.cpp index f891a66fd..a96a6a139 100644 --- a/generators/fictionbook/converter.cpp +++ b/generators/fictionbook/converter.cpp @@ -187,9 +187,6 @@ QTextDocument* Converter::convert( const QString &fileName ) if ( !mDocumentInfo->mProducer.isEmpty() ) emit addMetaData( Okular::DocumentInfo::Producer, mDocumentInfo->mProducer ); - if ( !mDocumentInfo->mProducer.isEmpty() ) - emit addMetaData( "creator", mDocumentInfo->mAuthor, i18n( "Creator" ) ); - if ( mDocumentInfo->mDate.isValid() ) emit addMetaData( Okular::DocumentInfo::CreationDate, KGlobal::locale()->formatDate( mDocumentInfo->mDate, KLocale::ShortDate ) );