diff options
Diffstat (limited to 'source/fb2xml.cpp')
-rw-r--r-- | source/fb2xml.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/fb2xml.cpp b/source/fb2xml.cpp index 60541bf..9682c43 100644 --- a/source/fb2xml.cpp +++ b/source/fb2xml.cpp @@ -101,19 +101,19 @@ bool FbXmlHandler::endElement(const QString & namespaceURI, const QString & loca bool FbXmlHandler::warning(const QXmlParseException& exception) { - emit log(exception); + emit warning(exception.lineNumber(), exception.columnNumber(), exception.message()); return true; } bool FbXmlHandler::error(const QXmlParseException& exception) { - emit log(exception); + emit error(exception.lineNumber(), exception.columnNumber(), exception.message()); return false; } bool FbXmlHandler::fatalError(const QXmlParseException &exception) { - emit log(exception); + emit fatal(exception.lineNumber(), exception.columnNumber(), exception.message()); return false; } |