Lars Gullik Bjønnes wrote:
Abdelrazak Younes <[EMAIL PROTECTED]> writes:
| Juergen Spitzmueller wrote:
| > Abdelrazak Younes wrote:
| >> Could you try this patch please?
| > Doesn't help. Still the same error.
|
| What about this one?
|
| 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?
Abdel.