Here is a little patch to get the paper sizes in document settings->Page 
Layout sorted.
-- 
Viele Grüße,
Hartmut 

Hungerhilfe: http://www.thehungersite.com

Das heutige Motto:
You will be awarded some great honour. 
--- QDocument.C.orig	2005-10-25 19:15:58.172725976 +0200
+++ QDocument.C	2005-10-25 19:15:58.096737528 +0200
@@ -110,15 +110,20 @@
 	QComboBox * cb = dialog_->pageLayoutModule->papersizeCO;
 	cb->insertItem(qt_("Default"));
 	cb->insertItem(qt_("Custom"));
-	cb->insertItem(qt_("US letter"));
-	cb->insertItem(qt_("US legal"));
-	cb->insertItem(qt_("US executive"));
-	cb->insertItem(qt_("A3"));
-	cb->insertItem(qt_("A4"));
-	cb->insertItem(qt_("A5"));
-	cb->insertItem(qt_("B3"));
-	cb->insertItem(qt_("B4"));
-	cb->insertItem(qt_("B5"));
+	// let's get the rest sorted
+	QStringList combo;
+	combo += qt_("US letter");
+	combo += qt_("US legal");
+	combo += qt_("US executive");
+	combo += qt_("A3");
+	combo += qt_("A4");
+	combo += qt_("A5");
+	combo += qt_("B3");
+	combo += qt_("B4");
+	combo += qt_("B5");
+	combo.sort();
+	// and insert it
+	cb->insertStringList(combo);
 	// remove the %-items from the unit choice
 	dialog_->pageLayoutModule->paperwidthUnitCO->noPercents();
 	dialog_->pageLayoutModule->paperheightUnitCO->noPercents();

Reply via email to