r21059 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sat Mar 5 19:06:24 UTC 2016


Author: jghali
Date: Sat Mar  5 19:06:24 2016
New Revision: 21059

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21059
Log:
#13793: Misspelling of variable in pagelayout.[cpp|h]

Modified:
    trunk/Scribus/scribus/ui/pagelayout.cpp
    trunk/Scribus/scribus/ui/pagelayout.h

Modified: trunk/Scribus/scribus/ui/pagelayout.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21059&path=/trunk/Scribus/scribus/ui/pagelayout.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/pagelayout.cpp	(original)
+++ trunk/Scribus/scribus/ui/pagelayout.cpp	Sat Mar  5 19:06:24 2016
@@ -186,15 +186,15 @@
 	connect(firstPage, SIGNAL(activated(int)), this, SIGNAL(selectedFirstPage(int)));
 }
 
-void PageLayouts::itemSelectedPost(int choosen)
+void PageLayouts::itemSelectedPost(int chosen)
 {
 	disconnect(firstPage, SIGNAL(activated(int)), this, SIGNAL(selectedFirstPage(int)));
-	if (choosen > 0)
+	if (chosen > 0)
 	{
 		firstPage->setEnabled(true);
 		firstPage->clear();
 		QStringList::Iterator pNames;
-		for(pNames = pageSets[choosen].pageNames.begin(); pNames != pageSets[choosen].pageNames.end(); ++pNames )
+		for(pNames = pageSets[chosen].pageNames.begin(); pNames != pageSets[chosen].pageNames.end(); ++pNames )
 		{
 			firstPage->addItem(CommonStrings::translatePageSetLocString((*pNames)));
 		}

Modified: trunk/Scribus/scribus/ui/pagelayout.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21059&path=/trunk/Scribus/scribus/ui/pagelayout.h
==============================================================================
--- trunk/Scribus/scribus/ui/pagelayout.h	(original)
+++ trunk/Scribus/scribus/ui/pagelayout.h	Sat Mar  5 19:06:24 2016
@@ -61,7 +61,7 @@
 	void selectedFirstPage(int);
 
 private:
-	void itemSelectedPost(int choosen);
+	void itemSelectedPost(int chosen);
 	bool modus;
 
 protected:




More information about the scribus-commit mailing list