zz_configDialog.cpp

changeset 116
4fde8fdf258a
parent 106
46e4202a44fc
child 119
b93a64f5ee67
--- a/zz_configDialog.cpp	Tue Apr 16 20:32:42 2013 +0300
+++ b/zz_configDialog.cpp	Wed Apr 17 14:09:38 2013 +0300
@@ -434,7 +434,7 @@
 	qButton->setIcon (QIcon ("icons/colorselect.png"));
 	qButton->setAutoFillBackground (true);
 	qButton->setStyleSheet (
-		str::mkfmt ("background-color: %s", zValue.chars()).chars()
+		format ("background-color: %s", zValue.chars()).chars()
 	);
 }
 
@@ -517,7 +517,7 @@
 	str zLabel = qAct->iconText ();
 	str zKeybind = qAct->shortcut ().toString ();
 	
-	qItem->setText (str::mkfmt ("%s (%s)", zLabel.chars () ,zKeybind.chars ()).chars());
+	qItem->setText (format ("%s (%s)", zLabel.chars () ,zKeybind.chars ()).chars());
 }
 
 // =============================================================================
@@ -617,7 +617,7 @@
 void KeySequenceDialog::updateOutput () {
 	str zShortcut = seq.toString ();
 	
-	str zText = str::mkfmt ("<center><b>%s</b></center>", zShortcut.chars ());
+	str zText = format ("<center><b>%s</b></center>", zShortcut.chars ());
 	
 	qOutput->setText (zText);
 }

mercurial