diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-06-11 15:08:36 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-06-11 15:08:36 +0000 |
commit | e1855a6ed118eccf93950c9821b75ca53646d774 (patch) | |
tree | fa0974d2de02b9af02413563fb7e0e578ef31168 /src/gatscon/gatstotree.cpp | |
parent | 3be307770542e3f15bcae49055294d9b8b14eebd (diff) | |
download | libgats-e1855a6ed118eccf93950c9821b75ca53646d774.tar.gz libgats-e1855a6ed118eccf93950c9821b75ca53646d774.tar.bz2 libgats-e1855a6ed118eccf93950c9821b75ca53646d774.tar.xz libgats-e1855a6ed118eccf93950c9821b75ca53646d774.zip |
GatsCon can display nulls now.
Diffstat (limited to 'src/gatscon/gatstotree.cpp')
-rw-r--r-- | src/gatscon/gatstotree.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gatscon/gatstotree.cpp b/src/gatscon/gatstotree.cpp index d01e4b8..e388d5e 100644 --- a/src/gatscon/gatstotree.cpp +++ b/src/gatscon/gatstotree.cpp | |||
@@ -31,6 +31,10 @@ void gatsToTree( QTreeWidgetItem *p, Gats::Object *pObj ) | |||
31 | case Gats::typeDictionary: | 31 | case Gats::typeDictionary: |
32 | gatsToTree( p, dynamic_cast<Gats::Dictionary *>( pObj ) ); | 32 | gatsToTree( p, dynamic_cast<Gats::Dictionary *>( pObj ) ); |
33 | break; | 33 | break; |
34 | |||
35 | case Gats::typeNull: | ||
36 | gatsToTree( p, dynamic_cast<Gats::Null *>( pObj ) ); | ||
37 | break; | ||
34 | } | 38 | } |
35 | } | 39 | } |
36 | 40 | ||
@@ -81,3 +85,7 @@ void gatsToTree( QTreeWidgetItem *p, Gats::Dictionary *pObj ) | |||
81 | } | 85 | } |
82 | } | 86 | } |
83 | 87 | ||
88 | void gatsToTree( QTreeWidgetItem *p, Gats::Null *pObj ) | ||
89 | { | ||
90 | p->setText( 1, "null"); | ||
91 | } | ||