[PATCH] Use default item separator for lists.

David Reveman davidr at novell.com
Sun Aug 12 18:19:53 PDT 2007


---
 settings-backend/kconfig_backend.cpp |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/settings-backend/kconfig_backend.cpp b/settings-backend/kconfig_backend.cpp
index a68e270..43d66e5 100644
--- a/settings-backend/kconfig_backend.cpp
+++ b/settings-backend/kconfig_backend.cpp
@@ -595,7 +595,7 @@ readSetting (CCSContext *c,
 
 	    case TypeString:
 		{
-		    QStringList list = cfg->readListEntry (key, ';');
+		    QStringList list = cfg->readListEntry (key);
 
 		    if (!list.count() )
 			break;
@@ -628,7 +628,7 @@ readSetting (CCSContext *c,
 
 	    case TypeMatch:
 		{
-		    QStringList list = cfg->readListEntry (key, ';');
+		    QStringList list = cfg->readListEntry (key);
 
 		    if (!list.count() )
 			break;
@@ -661,7 +661,7 @@ readSetting (CCSContext *c,
 
 	    case TypeFloat:
 		{
-		    QStringList list = cfg->readListEntry (key, ';');
+		    QStringList list = cfg->readListEntry (key);
 
 		    float *array = new float[list.count() ];
 		    int i = 0;
@@ -685,7 +685,7 @@ readSetting (CCSContext *c,
 
 	    case TypeColor:
 		{
-		    QStringList list = cfg->readListEntry (key, ';');
+		    QStringList list = cfg->readListEntry (key);
 
 		    CCSSettingColorValue *array =
 			new CCSSettingColorValue[list.count() ];
@@ -714,7 +714,7 @@ readSetting (CCSContext *c,
 
 	    case TypeAction:
 		{
-		    QStringList list = cfg->readListEntry (key, ';');
+		    QStringList list = cfg->readListEntry (key);
 
 		    CCSSettingActionValue *array =
 			new CCSSettingActionValue[list.count() ];
@@ -1095,7 +1095,7 @@ writeSetting (CCSContext *c,
 			l = l->next;
 		    }
 
-		    cfg->writeEntry (key, list, ';');
+		    cfg->writeEntry (key, list);
 		}
 		break;
 		
@@ -1113,7 +1113,7 @@ writeSetting (CCSContext *c,
 			l = l->next;
 		    }
 
-		    cfg->writeEntry (key, list, ';');
+		    cfg->writeEntry (key, list);
 		}
 		break;
 
@@ -1131,7 +1131,7 @@ writeSetting (CCSContext *c,
 			l = l->next;
 		    }
 
-		    cfg->writeEntry (key, list, ';');
+		    cfg->writeEntry (key, list);
 		}
 		break;
 
@@ -1149,7 +1149,7 @@ writeSetting (CCSContext *c,
 			l = l->next;
 		    }
 
-		    cfg->writeEntry (key, list, ';');
+		    cfg->writeEntry (key, list);
 		}
 		break;
 
@@ -1167,7 +1167,7 @@ writeSetting (CCSContext *c,
 			l = l->next;
 		    }
 
-		    cfg->writeEntry (key, list, ';');
+		    cfg->writeEntry (key, list);
 		}
 		break;
 
@@ -1193,7 +1193,7 @@ writeSetting (CCSContext *c,
 			l = l->next;
 		    }
 
-		    cfg->writeEntry (key, list, ';');
+		    cfg->writeEntry (key, list);
 		}
 		break;
 
@@ -1226,7 +1226,7 @@ writeSetting (CCSContext *c,
 			l = l->next;
 		    }
 
-		    cfg->writeEntry (key, list, ';');
+		    cfg->writeEntry (key, list);
 		}
 		break;
 
-- 
1.5.2.4


--=-JKJEo0QaMHFoQml1BvGW
Content-Disposition: attachment; filename=0008-Color-values-are-stored-as-strings-and-not-lists.patch
Content-Type: application/mbox; name=0008-Color-values-are-stored-as-strings-and-not-lists.patch
Content-Transfer-Encoding: 7bit



More information about the compiz mailing list