rollback to qtquick 1.0 to compatible with qtlib 4.7 maemo5 fremantle pr 1.3
[lichviet] / qml / LichViet / FullMonth.qml
index a091915..12f7be4 100644 (file)
@@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>
 */
 
-import QtQuick 1.1
+import QtQuick 1.0
 
 import "Themes.js" as Themes
 import "main.js" as Script
@@ -309,7 +309,7 @@ Item{
 
         var firstdayofthemonthyear = Script.getLunarDate(1,m_month,m_year).jd;
         var startfrom = (firstdayofthemonthyear+1)%7;
-        var daysofthemonthyear = Script.calDays(m_month,m_year);
+        var daysofthemonthyear = Script.calDaysX(m_month,m_year);
         var j=1;
         var totalslot = 42;