QmlProject files: Make "paths" property an array

Instead of letting the list of files being a (comma separated) string
it's now a full JavaScript array. E.g.

  paths: ["file1", "file2"]

This unifies it with e.g. the libraryPaths property
This commit is contained in:
Kai Koehne
2010-02-22 13:45:35 +01:00
parent 5e5192ad57
commit 481d7cd6db
3 changed files with 11 additions and 15 deletions

View File

@@ -153,8 +153,8 @@ void TestProject::testFileFilter()
"import QmlProject 1.0\n"
"Project {\n"
" QmlFiles {\n"
" paths: \"file1.qml,\n"
"file2.qml\"\n"
" paths: [ \"file1.qml\",\n"
"\"file2.qml\" ]\n"
" }\n"
"}\n");