src/colorSelector.cc

changeset 662
2f1bd9112408
parent 655
b376645315ab
child 757
8ab9fa53142b
--- a/src/colorSelector.cc	Thu Apr 10 13:58:06 2014 +0300
+++ b/src/colorSelector.cc	Mon Apr 14 16:00:36 2014 +0300
@@ -43,7 +43,7 @@
 ColorSelector::ColorSelector (int defval, QWidget* parent) : QDialog (parent)
 {
 	// Remove the default color if it's invalid
-	if (!getColor (defval))
+	if (not getColor (defval))
 		defval = -1;
 
 	m_firstResize = true;
@@ -93,7 +93,7 @@
 	{
 		LDColor* info = ::getColor (i);
 
-		if (!info)
+		if (not info)
 			continue;
 
 		const double x = (i % numCols) * square;
@@ -141,7 +141,7 @@
 // =============================================================================
 void ColorSelector::drawColorInfo()
 {
-	if (!selection())
+	if (not selection())
 	{
 		ui->colorLabel->setText ("---");
 		return;
@@ -186,7 +186,7 @@
 
 	LDColor* col = ::getColor (idx);
 
-	if (!col)
+	if (not col)
 		return;
 
 	setSelection (col);

mercurial