Added global controller andalso filebrowser qml
[lichviet] / qml / LichViet / AmDateTimeDialog.qml
index d7d9a09..63890b7 100644 (file)
@@ -3,7 +3,7 @@ Copyright (C) 2011  by Cuong Le <metacuong@gmail.com>
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
+the Free Software Foundation, either version 2 of the License, or
 (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,
@@ -495,10 +495,6 @@ Item{
         }
     ]
 
-    transitions: [
-        Transition { NumberAnimation { properties: "x,y,opacity"; duration: 100; easing.type: Easing.InOutBack } }
-    ]
-
     function reset(){
         var acs = AmLich.getYearInfo(screen.curYear)
         var a=AmLich.getLunarDate(screen.curDay,screen.curMonth,screen.curYear)
@@ -512,7 +508,7 @@ Item{
         if (aaa){
            for (var i=0;i<=12;i++){
                var l=acs[i].month
-                if (t==l && a.leap==0){
+                if (t==l && a.leap===0){
                     if (a.month>i){
                     finalmonth = finalmonth+1;
                     break;