config.cpp

changeset 29
55406ce7446e
parent 0
c51cce84a9ac
child 30
31ff9aabd506
--- a/config.cpp	Mon Mar 18 13:16:21 2013 +0200
+++ b/config.cpp	Mon Mar 18 18:29:02 2013 +0200
@@ -80,7 +80,6 @@
 	"String",
 	"Float",
 	"Boolean",
-	"Color",
 };
 
 // =============================================================================
@@ -186,9 +185,6 @@
 				val = false;
 			break;
 		}
-		case CONFIG_color:
-			static_cast<colorconfig*> (cfg)->value.parseFromString (valstring);
-			break;
 		default:
 			break;
 		}
@@ -295,9 +291,6 @@
 			case CONFIG_bool:
 				valstring = (static_cast<boolconfig*> (cfg)->value) ? "true" : "false";
 				break;
-			case CONFIG_color:
-				valstring = (str)(static_cast<colorconfig*> (cfg)->value);
-				break;
 			default:
 				break;
 			}

mercurial