diff options
author | Albert Astals Cid <albert.astals@canonical.com> | 2016-03-31 17:42:43 +0200 |
---|---|---|
committer | Albert Astals Cid <albert.astals@canonical.com> | 2016-04-01 15:26:02 +0000 |
commit | 886662d409f6422bc43df500314470f776958bfd (patch) | |
tree | 2827ebd1b53bc70bca52a84bdc6ef00d78cba1bd /src/quick/items/qquickshadereffect.cpp | |
parent | 3fb0f3fc8311b1e1d85e6f56d8d9cbc5c0be99b7 (diff) |
Give a nicer error if the passed item doesn't exist
Instead of
Cannot read property 'width' of null
and a line pointing to TestCase.qml, you get
No item given to mouseWheel
and a line pointing to the offending code
Change-Id: I8e035878035cb836a4c0c33a772ad4353d8dd000
Reviewed-by: Filippo Cucchetto <filippocucchetto@gmail.com>
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/quick/items/qquickshadereffect.cpp')
0 files changed, 0 insertions, 0 deletions