[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bindings
Subject: [Kde-bindings] playground/bindings/kimono
From: Arno Rehn <kde () arnorehn ! de>
Date: 2007-03-06 20:44:34
Message-ID: 1173213874.288957.30989.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 640096 by arnorehn:
* In the simpletreemodel example the entries of default.txt are now being read correctly
CCMAIL: kde-bindings@kde.org
M +1 -0 ChangeLog
M +2 -1 examples/itemviews/simpletreemodel/treemodel.cs
--- trunk/playground/bindings/kimono/ChangeLog #640095:640096
@@ -17,6 +17,7 @@
QAbstractItemModel.CreateIndex() looks up a GCHandle in the Dictionary
and if it exists it is passed to the C++ function. Child items of a tree model
can now be selected.
+ * In the simpletreemodel example the entries of default.txt are now being read correctly
2007-03-05 Richard Dale <rdale@foton.es>
--- trunk/playground/bindings/kimono/examples/itemviews/simpletreemodel/treemodel.cs #640095:640096
@@ -150,7 +150,8 @@
if (lineData != "") {
// Read the column data from the rest of the line.
- List<string> columnStrings = new List<string>(lineData.Split("\t".ToCharArray()));
+ List<string> columnStrings = new List<string>(lineData.Split(new char[] { '\t' },
+ StringSplitOptions.RemoveEmptyEntries));
List<QVariant> columnData = new List<QVariant>();
for (int column = 0; column < columnStrings.Count; ++column)
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic