← Back to team overview

ubuntu-touch-coreapps-reviewers team mailing list archive

[Merge] lp:~pkunal-parmar/ubuntu-calendar-app/LongPressToCreate into lp:ubuntu-calendar-app

 

Kunal Parmar has proposed merging lp:~pkunal-parmar/ubuntu-calendar-app/LongPressToCreate into lp:ubuntu-calendar-app.

Commit message:
resolves Bug #1473679


Requested reviews:
  Ubuntu Calendar Developers (ubuntu-calendar-dev)
Related bugs:
  Bug #1473679 in Ubuntu Calendar App: "[Calendar] Single tap shouldn't immediately create an event"
  https://bugs.launchpad.net/ubuntu-calendar-app/+bug/1473679

For more details, see:
https://code.launchpad.net/~pkunal-parmar/ubuntu-calendar-app/LongPressToCreate/+merge/268588

resolves Bug #1473679

-- 
Your team Ubuntu Calendar Developers is requested to review the proposed merge of lp:~pkunal-parmar/ubuntu-calendar-app/LongPressToCreate into lp:ubuntu-calendar-app.
=== modified file 'TimeLineBase.qml'
--- TimeLineBase.qml	2015-08-04 02:14:38 +0000
+++ TimeLineBase.qml	2015-08-20 12:31:26 +0000
@@ -37,13 +37,6 @@
         anchors.fill: parent
         objectName: "mouseArea"
 
-        onClicked: {
-            var selectedDate = new Date(day);
-            var hour = parseInt(mouseY / hourHeight);
-            selectedDate.setHours(hour)
-            createOrganizerEvent(selectedDate);
-        }
-
         onPressAndHold: {
             var selectedDate = new Date(day);
             var hour = parseInt(mouseY / hourHeight);


Follow ups