r18979 by jghali - fix build error

scribus-commit scribus-commit at lists.scribus.net
Wed Apr 2 09:25:59 UTC 2014


Author: jghali
Date: Wed Apr  2 09:25:58 2014
New Revision: 18979

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18979
Log:
fix build error

Modified:
    trunk/Scribus/scribus/plugins/import/pdf/pdfimportoptions.cpp

Modified: trunk/Scribus/scribus/plugins/import/pdf/pdfimportoptions.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18979&path=/trunk/Scribus/scribus/plugins/import/pdf/pdfimportoptions.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/pdf/pdfimportoptions.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/pdf/pdfimportoptions.cpp Wed Apr  2 09:25:58 2014
@@ -78,7 +78,7 @@
 		ui->allPages->setChecked(true);
 	ui->pageRangeString->setText("");
 	ui->pgSelect->setMaximum(numPages);
-	ui->pgSelect->GotoPg(actPage - 1);
+	ui->pgSelect->setGUIForPage(actPage - 1);
 	m_maxPage = numPages;
 	updatePreview(actPage);
 	connect(ui->pgSelect, SIGNAL(GotoPage(int)), this, SLOT(updatePreview(int)));
@@ -96,7 +96,7 @@
 
 void PdfImportOptions::updateFromSpinBox(int pg)
 {
-	ui->pgSelect->GotoPg(pg - 1);
+	ui->pgSelect->setGUIForPage(pg - 1);
 }
 
 void PdfImportOptions::updatePreview(int pg)




More information about the scribus-commit mailing list