diff options
author | don bright <hugh.m.bright@gmail.com> | 2013-01-12 23:01:24 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2013-01-12 23:01:24 (GMT) |
commit | f4f06d48d852437ee0d70b7541c9b8a1893d9624 (patch) | |
tree | 4050fec6feae0e34362212f526d5d824c62f3f7f /src/highlighter.h | |
parent | 3ff8ca36b5bbb57b4039d8f6372d52d2b6ab0eaf (diff) |
fix for gcc. simplify mainwin.cc a bit.
Diffstat (limited to 'src/highlighter.h')
-rw-r--r-- | src/highlighter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/highlighter.h b/src/highlighter.h index 322ba2d..09bba39 100644 --- a/src/highlighter.h +++ b/src/highlighter.h @@ -15,8 +15,8 @@ public: void unhighlightLastError(); private: QTextBlock lastErrorBlock; - int errorPos = -1; - bool errorState = false; + int errorPos; + bool errorState; QMap<QString,QStringList> tokentypes; QMap<QString,QTextCharFormat> typeformats; void portable_rehighlightBlock( const QTextBlock &text ); |