Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-25373

Decide what to do with QDropEvent's ### Qt5 remark

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • 5.0.0 Beta 1
    • None
    • Core: Event loop
    • None
    • 4d0424b671a2cac8b1e8035f604ead9dbeae547b

    Description

      QDropEvent::QDropEvent(const QPointF& pos, Qt::DropActions actions, const QMimeData *data,
                             Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Type type)
          : QEvent(type), p(pos), mouseState(buttons),
            modState(modifiers), act(actions),
            mdata(data)
      {
          default_action = Qt::CopyAction; // ### Qt5: QDragManager::self()->defaultAction(act, modifiers);
          drop_action = default_action;
          ignore();
      }
      

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-25373
          # Subject Branch Project Status CR V

          Activity

            People

              laknoll Lars Knoll
              thiago Thiago Macieira
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes