mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-02 01:56:23 +00:00
fix(Common/InvertedMouseArea): code style
This commit is contained in:
parent
910deeb04d
commit
a9d8d97032
1 changed files with 4 additions and 0 deletions
|
|
@ -17,6 +17,8 @@ Item {
|
|||
// is on a specific item. It takes only a item parameter.
|
||||
signal pressed (var pointIsInItem)
|
||||
|
||||
// -----------------------------------------------------------------
|
||||
|
||||
function _createMouseArea () {
|
||||
var parent = Utils.getTopParent(item, true)
|
||||
var mouseArea = Utils.find(parent.children, function (element) {
|
||||
|
|
@ -49,6 +51,8 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------
|
||||
|
||||
// It's necessary to use a `enabled` variable.
|
||||
// See: http://doc.qt.io/qt-5/qml-qtqml-component.html#completed-signal
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue