clear the document information when a plucker document is closed

svn path=/trunk/KDE/kdegraphics/okular/; revision=798897
remotes/origin/KDE/4.1
Pino Toscano 18 years ago
parent 242891d48e
commit 34a697a16b
  1. 3
      generators/plucker/generator_plucker.cpp

@ -120,6 +120,9 @@ bool PluckerGenerator::doCloseDocument()
qDeleteAll( mPages );
mPages.clear();
// do not use clear() for the following, otherwise its type is changed
mDocumentInfo = Okular::DocumentInfo();
return true;
}

Loading…
Cancel
Save