← Back to team overview

touch-packages team mailing list archive

[Bug 1524234] Re: QML function trigger() with no argument doesn't override ActionItem.trigger

 

This si valid also on Action itself.

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: New => Confirmed

** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Importance: Undecided => Critical

** Changed in: ubuntu-ui-toolkit (Ubuntu)
     Assignee: (unassigned) => Zsombor Egri (zsombi)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1524234

Title:
  QML function trigger() with no argument doesn't override
  ActionItem.trigger

Status in ubuntu-ui-toolkit package in Ubuntu:
  Confirmed

Bug description:
  In QML it's only natural to declare

  function trigger() { }

  on an ActionItem (derived item) and expect it to override the trigger
  slot.

  This doesn't work - sometimes it works if the function is declared
  with an argument, other times not at all.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1524234/+subscriptions


References