Skip to content
Verified Commit 969dc9b8 authored by ivan tkachenko's avatar ivan tkachenko 🗯
Browse files

desktoppackage: Fix relaying configuration change signals

Fixes no-so-verbose-as-I'd-like-them-to-be errors from QML/JS Engine:

    file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/configTimeZones.qml:254:
    Error: Unable to determine callable overload.  Candidates are:

Yes, it does not print any candidates, let alone mentioning the object
itself and the name of a signal which wasn't found.

The correct way it to pass a closure (function) to connect() calls,
because only that way JavaScript can preserve binding between an object
and its method. See Function.prototype.bind() for an alternative
approach and in-depth description of this problem.
parent 90f7c003
Pipeline #389036 passed with stage
in 4 minutes and 37 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment