fixup root modifier bug

felipesanches-svg
don bright 2013-01-26 19:40:47 +01:00
parent 6535b16a31
commit f897fad9b8
2 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,6 @@ private slots:
private:
void openFile(const QString &filename);
void refreshDocument();
AbstractNode *find_root_tag(AbstractNode *n);
void updateTemporalVariables();
bool fileChangedOnDisk();
bool includesChanged();

View File

@ -103,6 +103,7 @@ std::ostream &operator<<(std::ostream &stream, const AbstractNode &node)
return stream;
}
// Do we have an explicit root node (! modifier)?
AbstractNode *find_root_tag(AbstractNode *n)
{
BOOST_FOREACH(AbstractNode *v, n->children) {