Commit c3f635a1 authored by Daan De Meyer's avatar Daan De Meyer
Browse files

[applets/digital-clock] Fix Connections deprecation warning

parent be99ebe8
......@@ -75,7 +75,7 @@ Item {
Connections {
target: plasmoid
onContextualActionsAboutToShow: {
function onContextualActionsAboutToShow() {
ClipboardMenu.secondsIncluded = main.showSeconds;
ClipboardMenu.currentDate = main.currentTime;
}
......@@ -83,7 +83,7 @@ Item {
Connections {
target: plasmoid.configuration
onSelectedTimeZonesChanged: {
function onSelectedTimeZonesChanged() {
// If the currently selected timezone was removed,
// default to the first one in the list
var lastSelectedTimezone = plasmoid.configuration.lastSelectedTimezone;
......
......@@ -100,7 +100,7 @@ Item {
property var allTimezones
Connections {
target: plasmoid.configuration
onSelectedTimeZonesChanged: root.initTimezones();
function onSelectedTimeZonesChanged() { root.initTimezones(); }
}
PlasmaCore.DataSource {
......
Markdown is supported
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