Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > | | Index: GuiWorkArea.C | > | =================================================================== | > | --- GuiWorkArea.C (revision 14773) | > | +++ GuiWorkArea.C (working copy) | > | @@ -593,7 +593,8 @@ | > | // ideally, such special coding should not be necessary | > | if (text == "^") | > | key = Qt::Key_AsciiCircum; | > | - QKeyEvent ev(QEvent::KeyPress, key, 0, text); | > | + QKeyEvent ev(QEvent::KeyPress, key, | > | + Qt::KeyboardModifiers(Qt::NoModifier), text); | > doesn't Qt::NoModifier already have the correct type? | > | | no, Qt::NoModifier is an Qt::KeyboardModifier (enum) and | Qt::KeyboardModifiers is a typedef of QFlag<Qt::KeyboardModifier>. My | Qt (4.1.3 win/msvc2005) do automatically the conversion... What is | your version Juergen?
I am using qt-4.1.4 with gcc 4.1.1 and do not need a patch at all... -- Lgb