~ubuntu-branches/ubuntu/intrepid/kdegraphics/intrepid-proposed

« back to all changes in this revision

Viewing changes to kolourpaint/tools/selection/text/kpToolText_KeyboardEvents.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Roderick B. Greening
  • Date: 2008-10-31 02:29:31 UTC
  • mfrom: (1.1.19 upstream)
  • Revision ID: james.westby@ubuntu.com-20081031022931-mklfmmc4ir99tujz
Tags: 4:4.1.3-0ubuntu1~intrepid1
New upstream release (LP: #268058)

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
    // TODO: don't like this check
90
90
    else if ((ke->modifiers () &
91
91
                (Qt::ControlModifier | Qt::AltModifier | Qt::MetaModifier)) == 0 &&
92
 
            ke->key () < 0x100 /*QChar (ke->key ()).isPrint () - unfortunately F1 is printable too...*/)
 
92
             !( ke->text ().isEmpty ()))
93
93
    {
94
94
    #if DEBUG_KP_TOOL_TEXT
95
95
        kDebug () << "\tis text - grab";