X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=main.cpp;fp=main.cpp;h=8ab3a75a510283cc11f1f01cc1124ba9c8302482;hb=274c1daf9c51c4127195b5e8370722887dace99e;hp=436a4c80be35cc1422cead891fc0d1b4dde95ba4;hpb=0527c61e3bdd3540dbe553e87e24081fe54f6b15;p=lichviet diff --git a/main.cpp b/main.cpp index 436a4c8..8ab3a75 100644 --- a/main.cpp +++ b/main.cpp @@ -22,7 +22,6 @@ along with this program. If not, see #include "qmlapplicationviewer.h" -#include "lunarcalendar.h" #include "controller.h" #ifdef Q_WS_MAEMO_5 @@ -36,11 +35,9 @@ int main(int argc, char *argv[]) app.setApplicationVersion(APP_VERSION); - LunarCalendar lc; Controller ctrller; viewer.rootContext()->setContextProperty("ROOT", &viewer); - viewer.rootContext()->setContextProperty("LC", &lc); viewer.rootContext()->setContextProperty("Controller", &ctrller); viewer.setOrientation(QmlApplicationViewer::ScreenOrientationAuto);