From e710b1ff68c29f5a2331cc36b5fdf6d67f4b1c63 Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 6 Jun 2010 16:26:58 +0200 Subject: Finished SmTreeModel, started SmUberModel kinda finished the treemodel. Don't really know if it's complete yet. More programming will show :) --- smtreeitem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'smtreeitem.h') diff --git a/smtreeitem.h b/smtreeitem.h index 4696edf..807e3d7 100644 --- a/smtreeitem.h +++ b/smtreeitem.h @@ -23,7 +23,7 @@ class SmTreeItem { int row() const; SmTreeItem *parent(); QVariant data(int column) const; - void setData(int column, QVariant &data); + void setData(int column, const QVariant &data); bool insertChild(int where, SmTreeItem *child); bool removeChild(int where); -- cgit v1.2.3-70-g09d2