Fix compile for Qt5.4

Introduced with f443c95dcc.

Change-Id: I6fcc2c429b90cb56a02c3c63f0788fcf0ab1df52
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Christian Stenger
2016-01-25 06:53:31 +01:00
parent f443c95dcc
commit 5b9350baf6
2 changed files with 4 additions and 0 deletions

View File

@@ -39,7 +39,9 @@
#include <QPlainTextEdit>
#include <QTextCursor>
#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
#include <private/qtextcursor_p.h>
#endif
namespace Core {

View File

@@ -37,7 +37,9 @@
#include <QPainter>
#include <QTextBlock>
#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
#include <private/qtextcursor_p.h>
#endif
using namespace TextEditor;
using namespace TextEditor::Internal;