Commit ee5e38e5 authored by Leandro Melo's avatar Leandro Melo
Browse files

Text editor: Make it easier for some compilers

parent 162ffcb1
......@@ -201,9 +201,11 @@ public:
bool m_fileIsReadOnly;
bool m_hasDecodingError;
QByteArray m_decodingErrorSample;
static const int kChunkSize = 65536;
static const int kChunkSize;
};
const int BaseTextDocumentPrivate::kChunkSize = 65536;
BaseTextDocumentPrivate::BaseTextDocumentPrivate(BaseTextDocument *q) :
m_document(new QTextDocument(q)),
m_documentMarker(new Internal::DocumentMarker(m_document)),
......
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