On Wed, Oct 21, 2009 at 4:36 PM, Ville M. Vainio <[email protected]> wrote:

> I have (in my MainWindow)
>
> QQQ
>
>    QShortcut* zIn = new QShortcut(QKeySequence::ZoomIn, this);
>    QShortcut* zOut = new QShortcut(QKeySequence::ZoomOut, this);
>
>    connect(zIn, SIGNAL(activated()), this, SLOT(zoomInPressed()));
>    connect(zOut, SIGNAL(activated()), this, SLOT(zoomOutPressed()));
>
> QQQ
>
>
> This works fine on desktop (ctrl +/-). However, on device it doesn't
> work. Any ideas what I'm doing wrong?

And to spice up the discussion, using simple shortcuts like "a" / "z"
works fine on device. So it seems  QKeySequence::ZoomIn is not up to
scratch.

-- 
Ville M. Vainio
http://tinyurl.com/vainio
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to