Mercurial > octave-dspies
diff libgui/src/m-editor/octave-qscintilla.cc @ 16733:2723d1144f11
added test for qscintilla version 2.6.0
* configure.ac: rename test OCTAVE_CHECK_FUNC_FINDFIRST_MODERN into
OCTAVE_CHECK_VERSION_2_6_0
* m4/acinclude.m4: rename test accordingly, rename the defined flag into
HAVE_QSCI_VERSION_2_6_0
* octave-qscintilla.cc/.h: disable contextMenuEvent for qsci version < 2.6.0
author | Torsten <ttl@justmail.de> |
---|---|
date | Sat, 08 Jun 2013 16:16:52 +0200 |
parents | 01d523d5f796 |
children | cee305c91e91 |
line wrap: on
line diff
--- a/libgui/src/m-editor/octave-qscintilla.cc Sat Jun 08 11:22:10 2013 +0800 +++ b/libgui/src/m-editor/octave-qscintilla.cc Sat Jun 08 16:16:52 2013 +0200 @@ -37,6 +37,7 @@ { } +#ifdef HAVE_QSCI_VERSION_2_6_0 // context menu requested void octave_qscintilla::contextMenuEvent (QContextMenuEvent *e) @@ -74,6 +75,7 @@ context_menu->exec (global_pos); } +#endif // handle the menu entry for calling help