Fix copy&paste mistake

remotes/origin/dont-use-docdata-for-annots-and-forms
Albert Astals Cid 9 years ago
parent 147735fc5a
commit 0cb4ff7dad
  1. 2
      core/document.cpp

@ -4466,7 +4466,7 @@ bool Document::swapBackingFileArchive( const QString &newFileName, const QUrl &
qCDebug(OkularCoreDebug) << "Swapping backing file to" << tempFileName;
QVector< Page * > newPagesVector;
if (genIt->generator->swapBackingFile( newFileName, newPagesVector ))
if (genIt->generator->swapBackingFile( tempFileName, newPagesVector ))
{
// TODO Do the same we do in the other swapBackingFile call

Loading…
Cancel
Save