gui.cpp

changeset 116
4fde8fdf258a
parent 114
fe1bfc5f59ed
child 117
7eb7a43a511b
--- a/gui.cpp	Tue Apr 16 20:32:42 2013 +0300
+++ b/gui.cpp	Wed Apr 17 14:09:38 2013 +0300
@@ -373,7 +373,7 @@
 		else {
 			QPushButton* qColorButton = new QPushButton;
 			qColorButton->setAutoFillBackground (true);
-			qColorButton->setStyleSheet (str::mkfmt ("background-color: %s", entry.col->zColorString.chars()));
+			qColorButton->setStyleSheet (format ("background-color: %s", entry.col->zColorString.chars()));
 			qColorButton->setToolTip (entry.col->zName);
 			
 			connect (qColorButton, SIGNAL (clicked ()), this, SLOT (slot_quickColor ()));
@@ -810,7 +810,7 @@
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 // ========================================================================= //
 QIcon getIcon (const char* sIconName) {
-	return (QIcon (str::mkfmt ("./icons/%s.png", sIconName)));
+	return (QIcon (format ("./icons/%s.png", sIconName)));
 }
 
 // ========================================================================= //

mercurial