mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-25 02:45:38 +00:00
CVS_SILENT commented out debug stuff. it works.
svn path=/trunk/kdegraphics/kpdf/; revision=377070
This commit is contained in:
parent
6dd95c9e06
commit
162d1a9cf9
|
@ -684,7 +684,7 @@ void KPDFDocument::loadDocumentInfo()
|
|||
fileName = "kpdf/" + QString::number(fileReadTest.size()) + "." + fileName + ".xml";
|
||||
fileReadTest.close();
|
||||
QString localFN = locateLocal( "data", fileName );
|
||||
kdDebug() << "Using '" << localFN << "' as document info file." << endl;
|
||||
//kdDebug() << "Using '" << localFN << "' as document info file." << endl;
|
||||
QFile infoFile( localFN );
|
||||
if (infoFile.exists() && infoFile.open( IO_ReadOnly ) )
|
||||
{
|
||||
|
@ -824,7 +824,7 @@ void KPDFDocument::saveDocumentInfo() const
|
|||
fileName = "kpdf/" + QString::number(fileReadTest.size()) + "." + fileName + ".xml";
|
||||
fileReadTest.close();
|
||||
QString localFN = locateLocal( "data", fileName );
|
||||
kdDebug() << "Using '" << localFN << "' as document info file for saving." << endl;
|
||||
//kdDebug() << "Using '" << localFN << "' as document info file for saving." << endl;
|
||||
QFile infoFile( localFN );
|
||||
if (infoFile.open( IO_WriteOnly | IO_Truncate) )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue