~ubuntu-branches/ubuntu/karmic/digikam/karmic-backports

« back to all changes in this revision

Viewing changes to libs/widgets/common/itemviewtooltip.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Ubuntu Archive Auto-Backport
  • Date: 2009-12-07 19:03:53 UTC
  • mfrom: (54.1.4 lucid)
  • Revision ID: james.westby@ubuntu.com-20091207190353-oara3lenjxymto3i
Tags: 2:1.0.0~rc-1ubuntu1~karmic1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
#include <QApplication>
29
29
 
30
 
// KDE includes
31
 
 
32
 
 
33
 
 
34
30
// Local includes
35
31
 
36
32
namespace Digikam
117
113
    if (!isVisible())
118
114
        return false;
119
115
 
120
 
    switch (e->type()) 
 
116
    switch (e->type())
121
117
    {
122
118
        #ifdef Q_WS_MAC
123
119
        case QEvent::KeyPress:
124
 
        case QEvent::KeyRelease: 
 
120
        case QEvent::KeyRelease:
125
121
        {
126
122
            int key = static_cast<QKeyEvent *>(e)->key();
127
123
            Qt::KeyboardModifiers mody = static_cast<QKeyEvent *>(e)->modifiers();