diff --git a/harbour/ChangeLog b/harbour/ChangeLog index d4566f8e23..09cfc50ecd 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,10 @@ The license applies to all entries newer than 2009-04-28. */ +2011-06-18 22:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp + ! Fixed: a function call dependent on Qt v4.6 +. + 2011-06-18 13:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * package/winuni/RELNOTES * NEWS diff --git a/harbour/contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp b/harbour/contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp index feb3072fc7..c62b2936ae 100644 --- a/harbour/contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp +++ b/harbour/contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp @@ -2104,6 +2104,7 @@ void HBQPlainTextEdit::hbUpdateHorzRuler( const QRect & rect, int dy ) void HBQPlainTextEdit::hbHighlightPage() { +#if QT_VERSION >= 0x040600 if( highlighter ) { int iLastVisBlockNum = lastVisibleBlockNumber(); @@ -2120,6 +2121,7 @@ void HBQPlainTextEdit::hbHighlightPage() } } } +#endif } /*----------------------------------------------------------------------*/