in RSStyle use list.clear instead of list.empty, which was probably a bug

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8529 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
electron128 2015-06-19 11:39:34 +00:00
parent 4d364042ad
commit a1febb2c54

View File

@ -90,7 +90,7 @@ void RSStyle::readSetting (QSettings &settings)
styleType = STYLETYPE_NONE;
}
colors.empty();
colors.clear();
int size = settings.beginReadArray("colors");
for (int i = 0; i < size; ++i) {