diff options
Diffstat (limited to 'source/fb2code.cpp')
-rw-r--r-- | source/fb2code.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/fb2code.cpp b/source/fb2code.cpp index 8d564df..37afde1 100644 --- a/source/fb2code.cpp +++ b/source/fb2code.cpp @@ -1,5 +1,6 @@ #include "fb2code.hpp" +#include <QApplication> #include <QXmlSchema> #include <QAbstractMessageHandler> #include <QXmlSchemaValidator> @@ -238,7 +239,7 @@ void FbHighlighter::highlightBlock(const QString& text) const int len = text.length(); for (; i < len; ++i) { - switch (text.at(i).toAscii()) + switch (text.at(i).toLatin1()) { case '<': ++brackets; |