src/ColorSelector.cc

changeset 644
93dcd1a0e4bd
parent 642
751a8df42842
--- a/src/ColorSelector.cc	Wed Mar 05 05:31:07 2014 +0200
+++ b/src/ColorSelector.cc	Wed Mar 05 12:47:00 2014 +0200
@@ -111,7 +111,7 @@
 
 		QPen pen (info->edgeColor, penWidth, Qt::SolidLine, Qt::FlatCap, Qt::MiterJoin);
 		m_scene->addRect (x, y, w, w, pen, col);
-		QGraphicsTextItem* numtext = m_scene->addText (fmt ("%1", i));
+		QGraphicsTextItem* numtext = m_scene->addText (format ("%1", i));
 		numtext->setDefaultTextColor ( (luma (col) < 80) ? Qt::white : Qt::black);
 		numtext->setPos (x, y);
 
@@ -147,7 +147,7 @@
 		return;
 	}
 
-	ui->colorLabel->setText (fmt ("%1 - %2", selection()->index, selection()->name));
+	ui->colorLabel->setText (format ("%1 - %2", selection()->index, selection()->name));
 }
 
 // =============================================================================

mercurial