r24992 by jghali - Small code cleanup
scribus-commit
scribus-commit at lists.scribus.net
Thu Mar 3 00:47:50 UTC 2022
Author: jghali
Date: Thu Mar 3 00:47:50 2022
New Revision: 24992
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24992
Log:
Small code cleanup
Modified:
branches/Version15x/Scribus/scribus/plugins/import/pdf/importpdf.cpp
Modified: branches/Version15x/Scribus/scribus/plugins/import/pdf/importpdf.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24992&path=/branches/Version15x/Scribus/scribus/plugins/import/pdf/importpdf.cpp
==============================================================================
--- branches/Version15x/Scribus/scribus/plugins/import/pdf/importpdf.cpp (original)
+++ branches/Version15x/Scribus/scribus/plugins/import/pdf/importpdf.cpp Thu Mar 3 00:47:50 2022
@@ -147,7 +147,7 @@
m_importerFlags = flags;
m_cancel = false;
bool ret = false;
- QFileInfo fi = QFileInfo(fNameIn);
+ QFileInfo fi(fNameIn);
if ( !ScCore->usingGUI() )
{
m_interactive = false;
@@ -338,7 +338,6 @@
globalParams = globalParamsPtr.get();
#endif
globalParams->setErrQuiet(gTrue);
-
QList<OptionalContentGroup*> ocgGroups;
QByteArray encodedFileName = os_is_win() ? fn.toUtf8() : QFile::encodeName(fn);
@@ -417,7 +416,7 @@
m_progressDialog->hide();
qApp->changeOverrideCursor(QCursor(Qt::ArrowCursor));
PdfImportOptions optImp(ScCore->primaryMainWindow());
- QFileInfo fi = QFileInfo(fn);
+ QFileInfo fi(fn);
optImp.setUpOptions(fi.fileName(), firstPage, lastPage, m_interactive, boxesAreDifferent, this);
if (!optImp.exec())
{
More information about the scribus-commit
mailing list