Commit 557a4d2d authored by Mariusz Mazur's avatar Mariusz Mazur Committed by Albert Astals Cid
Browse files

[timer applet] Fix internal function calls

Summary: root.digitChanged() doesn't exist, main.digitChanged() does

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D12534
parent 4cf54ef2
......@@ -40,13 +40,13 @@ PlasmaCore.SvgItem {
if (root.seconds + meaning < 360000) {
root.seconds += meaning;
}
root.digitChanged();
main.digitChanged();
}else if (wheel.angleDelta.y < 0) {
if (root.seconds - meaning >= 0) {
root.seconds -= meaning;
}
root.digitChanged();
main.digitChanged();
}
}
}
......
Supports Markdown
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