summaryrefslogtreecommitdiffstats
path: root/kommander/widget/parsenode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/widget/parsenode.cpp')
-rw-r--r--kommander/widget/parsenode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kommander/widget/parsenode.cpp b/kommander/widget/parsenode.cpp
index 492c00fb..407e0987 100644
--- a/kommander/widget/parsenode.cpp
+++ b/kommander/widget/parsenode.cpp
@@ -38,13 +38,13 @@ ParseNode::ParseNode(double d) : m_type(ValueDouble), m_double(d), m_context(-1)
{
}
-ParseNode::ParseNode(Keyword k) : m_type(ValueKeyword), m_keyword(k), m_string(TQString::null), m_context(-1)
+ParseNode::ParseNode(Keyword k) : m_type(ValueKeyword), m_keyword(k), m_string(TQString()), m_context(-1)
{
}
ParseNode::ParseNode(Keyword k, const TQString& name) : m_type(ValueKeyword), m_keyword(k), m_context(-1)
{
- m_string = (k == Variable) ? name : TQString::null;
+ m_string = (k == Variable) ? name : TQString();
}
ParseNode ParseNode::error(const TQString& s)