r24509 by jghali - Code cleanup
scribus-commit
scribus-commit at lists.scribus.net
Thu Feb 18 17:16:57 UTC 2021
Author: jghali
Date: Thu Feb 18 17:16:57 2021
New Revision: 24509
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24509
Log:
Code cleanup
Modified:
trunk/Scribus/scribus/plugins/import/xps/xpsimportoptions.cpp
trunk/Scribus/scribus/plugins/import/xps/xpsimportoptions.h
Modified: trunk/Scribus/scribus/plugins/import/xps/xpsimportoptions.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24509&path=/trunk/Scribus/scribus/plugins/import/xps/xpsimportoptions.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/xps/xpsimportoptions.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/xps/xpsimportoptions.cpp Thu Feb 18 17:16:57 2021
@@ -15,7 +15,6 @@
ui->setupUi(this);
ui->pageSelectButton->setIcon(IconManager::instance().loadIcon("ellipsis.png"));
resize(minimumSizeHint());
- m_maxPage = 0;
}
XpsImportOptions::~XpsImportOptions()
Modified: trunk/Scribus/scribus/plugins/import/xps/xpsimportoptions.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24509&path=/trunk/Scribus/scribus/plugins/import/xps/xpsimportoptions.h
==============================================================================
--- trunk/Scribus/scribus/plugins/import/xps/xpsimportoptions.h (original)
+++ trunk/Scribus/scribus/plugins/import/xps/xpsimportoptions.h Thu Feb 18 17:16:57 2021
@@ -21,6 +21,7 @@
public:
explicit XpsImportOptions(QWidget* parent = nullptr);
~XpsImportOptions();
+
void setUpOptions(const QString& fileName, int actPage, int numPages, bool interact);
QString getPagesString();
@@ -28,8 +29,8 @@
void createPageNumberRange();
private:
- Ui::XpsImportOptions *ui;
- int m_maxPage;
+ Ui::XpsImportOptions *ui { nullptr };
+ int m_maxPage { 0 };
};
#endif // PDFIMPORTOPTIONS_H
More information about the scribus-commit
mailing list