summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <[email protected]>2017-10-26 21:09:21 +0200
committerAlbert Astals Cid <[email protected]>2017-10-26 21:09:21 +0200
commit0cb4ff7dad74f5815efea62bc32a11f16efea38d (patch)
treea70a0f13b34fa675585b51a4784d08b16b6ecd00
parent147735fc5a85a5d33d44368af7c6b0be227d3b04 (diff)
Fix copy&paste mistake
-rw-r--r--core/document.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/document.cpp b/core/document.cpp
index 9603762..1929314 100644
--- a/core/document.cpp
+++ b/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