|
@@ -151,6 +151,11 @@ public:
|
|
|
|
|
|
if (parent.isEmpty())
|
|
|
{
|
|
|
+ if (!outputData.isEmpty())
|
|
|
+ {
|
|
|
+ emit q->outputDataAvailable(outputData);
|
|
|
+ outputData.clear();
|
|
|
+ }
|
|
|
if (name.compare(FILTER_START, Qt::CaseInsensitive) == 0)
|
|
|
{
|
|
|
emit q->filterStarted(currentName, currentComment);
|
|
@@ -181,10 +186,6 @@ public:
|
|
|
.arg(reader.lineNumber()).arg(reader.columnNumber()) + reader.errorString());
|
|
|
}
|
|
|
}
|
|
|
- if (!outputData.isEmpty())
|
|
|
- {
|
|
|
- emit q->outputDataAvailable(outputData);
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
void unexpectedNestedElement(const QString& element)
|