Am 18.07.2010 um 14:11 schrieb Richard Heck: > On 07/18/2010 07:51 AM, Vincent van Ravesteijn wrote: >> Op 18-7-2010 13:49, uwesto...@lyx.org schreef: >>> Author: uwestoehr >>> Date: Sun Jul 18 13:49:34 2010 >>> New Revision: 34969 >>> URL: http://www.lyx.org/trac/changeset/34969 >>> >>> Log: >>> GuiWorkArea.cpp: make it compilable >>> >>> Stephan, please check if this is correct >>> >>>> - zoom = ev->modifiers()& Qt::ControlModifier; >>>> - zoom&= !(ev->modifiers()& (Qt::ShiftModifier || >>>> Qt::AltModifier)); >>>> + zoom = ev->modifiers()&& Qt::ControlModifier; >>>> + zoom&= !(ev->modifiers()&& (Qt::ShiftModifier || >>>> Qt::AltModifier)); >>> >> This is not correct for sure. >> > Looks to me as if the problem was "||" instead of "|"? This is bitwise, yes? > Patch attached. Feel free to commit.
Yes, you're right. My version was working, but indeed I meant bitwise or. I correct this. Funny, that logical or had the same outcome :-) Thanks. Stephan