~vcs-imports/bespin/trunk

« back to all changes in this revision

Viewing changes to splitterproxy.h

  • Committer: baghira-style
  • Date: 2015-11-29 17:59:52 UTC
  • Revision ID: svn-v4:d0a26e68-8c86-44a1-b3cb-44ce4b1ff1fa::1746
catch events on lost splitter

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
        case QEvent::MouseButtonPress:
81
81
        case QEvent::MouseButtonRelease:
82
82
        {
 
83
            if (!mySplitter)
 
84
                return false; // apparently some Qt versions send mouse input to hidden widgets - distro "patch"?
83
85
            e->accept();
84
86
 
85
87
            if (e->type() == QEvent::MouseButtonPress)