From: khamidou Date: Wed, 27 Jul 2011 17:57:24 +0000 (+0200) Subject: fixed the test.xml file X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=d35e9791fc6cf02c6d34312fb5ea88ffb3040797;p=st.git fixed the test.xml file --- diff --git a/tasklist.cpp b/tasklist.cpp index 7285569..74c3b89 100644 --- a/tasklist.cpp +++ b/tasklist.cpp @@ -86,5 +86,5 @@ QVariant TaskList::data ( const QModelIndex & index, int role) const int TaskList::rowCount (const QModelIndex & parent) const { - return 2; + return _taskList.length(); } diff --git a/tests/first.xml b/tests/first.xml index 5b1f0ee..c8901d0 100644 --- a/tests/first.xml +++ b/tests/first.xml @@ -21,5 +21,17 @@ 3 5 - + + + Song practice + + 3 + 5 + + + 3 + 5 + + + diff --git a/tests/first.xml~ b/tests/first.xml~ deleted file mode 100644 index 41b4c8b..0000000 --- a/tests/first.xml~ +++ /dev/null @@ -1,13 +0,0 @@ - - - Task 1 - - 3 - 5 - - - 3 - 5 - - -