changeset 144:3e13dc673db8

fix format string
author mandel
date Wed, 10 Jun 2009 17:03:35 +0000
parents d010168e50de
children 7648ee2e023b
files examples/dialogs/standarddialogs/dialog.d
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/examples/dialogs/standarddialogs/dialog.d	Wed Jun 10 16:58:49 2009 +0000
+++ b/examples/dialogs/standarddialogs/dialog.d	Wed Jun 10 17:03:35 2009 +0000
@@ -209,7 +209,7 @@
 		bool ok;
 		int i = QInputDialog.getInt(this, tr("QInputgetInteger()"), tr("Percentage:"), 25, 0, 100, 1, ok);
 		if (ok)
-			integerLabel.setText(Format(tr("%"), i));
+			integerLabel.setText(Format("{}", i));
 	}
 
 	void setDouble()