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.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'smtreeitem.cpp') diff --git a/smtreeitem.cpp b/smtreeitem.cpp index 43998c3..950926e 100644 --- a/smtreeitem.cpp +++ b/smtreeitem.cpp @@ -50,7 +50,7 @@ QVariant SmTreeItem::data(int column) const{ return mData.at(column); } -void SmTreeItem::setData(int column, QVariant &data){ +void SmTreeItem::setData(int column, const QVariant &data){ mData[column] = data; } -- cgit v1.2.3-70-g09d2