src/configDialog.cc

changeset 855
e16f1587ef44
parent 851
dbed6938238c
child 860
a496e72af069
--- a/src/configDialog.cc	Sun Jul 27 15:13:42 2014 +0300
+++ b/src/configDialog.cc	Mon Jul 28 03:34:05 2014 +0300
@@ -294,6 +294,7 @@
 			print ("Unknown widget of type %1\n", wdg->metaObject()->className());
 
 		conf->loadFromVariant (value);
+		print ("Value of %1: %2\n", conf->name(), conf->toVariant().toString());
 	});
 
 	// Rebuild the quick color toolbar
@@ -509,6 +510,7 @@
 		return;
 	}
 
+	print ("Color of %1 is %2\n", button, _buttonColors[button].name());
 	QColor col = QColorDialog::getColor (_buttonColors[button]);
 
 	if (col.isValid())
@@ -532,6 +534,7 @@
 	button->setAutoFillBackground (true);
 	button->setStyleSheet (format ("background-color: %1", value));
 	_buttonColors[button] = QColor (value);
+	print ("Color of %1 set to %2\n", button, value);
 }
 
 //

mercurial