Commit c95b9d1d authored by Arnold Dumas's avatar Arnold Dumas

Remove leftovers from Qt::escape().

Remove useless includes and comments related to the old Qt::escape().

Change-Id: Ice44317e5440c0dd41e770da6f1443ce687735f1
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@theqtcompany.com>
parent 87676c82
......@@ -42,7 +42,6 @@
#include <QFile>
#include <QFileInfo>
#include <QProcess>
#include <QTextDocument> // Qt::escape() in Qt 4
#include <QXmlStreamWriter>
namespace Beautifier {
......
......@@ -40,7 +40,6 @@
#include <QFile>
#include <QFileInfo>
#include <QProcess>
#include <QTextDocument> // Qt::escape() in Qt 4
#include <QXmlStreamWriter>
namespace Beautifier {
......@@ -150,7 +149,6 @@ void UncrustifySettings::createDocumentationFile() const
while (++i < totalLines) {
const QString &subline = lines.at(i);
if (line.startsWith(QLatin1Char('#')) || subline.trimmed().isEmpty()) {
//TODO As soon as Qt 4 support is dropped, use toHtmlEscaped().
const QString text = QLatin1String("<p><span class=\"option\">") + keyword
+ QLatin1String("</span> <span class=\"param\">") + options
+ QLatin1String("</span></p><p>")
......
......@@ -41,7 +41,6 @@
#include <QString>
#include <QPushButton>
#include <QTreeView>
#include <QTextDocument> // for Qt::escape
#include <QVBoxLayout>
#include <QKeyEvent>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment