Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lintest/fb2edit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/fb2code.cpp')
-rw-r--r--source/fb2code.cpp3
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;