[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [plasma-framework] src/declarativeimports/calendar/qml: [calendar import]Remove useless function
From:       Martin Klapetek <mklapetek () kde ! org>
Date:       2014-06-17 15:25:10
Message-ID: E1WwvG2-00032O-0W () scm ! kde ! org
[Download RAW message or body]

Git commit da33d6211f5676dc7eca40e0b6b02721f77ae0a0 by Martin Klapetek.
Committed on 17/06/2014 at 15:24.
Pushed by mklapetek into branch 'master'.

[calendar import]Remove useless function

M  +0    -4    src/declarativeimports/calendar/qml/MonthView.qml

http://commits.kde.org/plasma-framework/da33d6211f5676dc7eca40e0b6b02721f77ae0a0

diff --git a/src/declarativeimports/calendar/qml/MonthView.qml \
b/src/declarativeimports/calendar/qml/MonthView.qml index 1114d39..656225a 100644
--- a/src/declarativeimports/calendar/qml/MonthView.qml
+++ b/src/declarativeimports/calendar/qml/MonthView.qml
@@ -83,10 +83,6 @@ Item {
         return false;
     }
 
-    function today() {
-        return Qt.formatDateTime(new Date(), "yyyy-MM-dd")
-    }
-
     function eventDate(yearNumber,monthNumber,dayNumber) {
         var d = new Date(yearNumber, monthNumber-1, dayNumber);
         return Qt.formatDate(d, "dddd dd MMM yyyy");


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic