aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/src/main.cpp
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-06-19 15:05:20 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-06-19 15:06:49 +0900
commit63e7ab867c75ac550b923815955e6dae3f0da984 (patch)
tree55edf9dfe3c28536ef04758d5b0c159b9d1ee4f6 /homescreen/src/main.cpp
parent14e3586827071d1d2ed822ef452f6513cf01044e (diff)
Delete launcher icon area from HomeScreen
Delete Home QML file from main.qml. Change Home shortcut icon to launcher. Change-Id: Id1b3ffbbd24ee587a1d3bab1f86c90809bfc1209 Task-AGL: SPEC-1518 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
Diffstat (limited to 'homescreen/src/main.cpp')
-rw-r--r--homescreen/src/main.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/homescreen/src/main.cpp b/homescreen/src/main.cpp
index 8845253..fbb430f 100644
--- a/homescreen/src/main.cpp
+++ b/homescreen/src/main.cpp
@@ -27,8 +27,6 @@
#include <weather.h>
#include "applicationlauncher.h"
#include "statusbarmodel.h"
-#include "applicationmodel.h"
-#include "appinfo.h"
#include "afm_user_daemon_proxy.h"
#include "mastervolume.h"
#include "homescreenhandler.h"
@@ -89,14 +87,9 @@ int main(int argc, char *argv[])
// import C++ class to QML
// qmlRegisterType<ApplicationLauncher>("HomeScreen", 1, 0, "ApplicationLauncher");
- qmlRegisterType<ApplicationModel>("Home", 1, 0, "ApplicationModel");
qmlRegisterType<StatusBarModel>("HomeScreen", 1, 0, "StatusBarModel");
qmlRegisterType<MasterVolume>("MasterVolume", 1, 0, "MasterVolume");
- // DBus
- qDBusRegisterMetaType<AppInfo>();
- qDBusRegisterMetaType<QList<AppInfo> >();
-
ApplicationLauncher *launcher = new ApplicationLauncher();
QLibWindowmanager* layoutHandler = new QLibWindowmanager();
if(layoutHandler->init(port,token) != 0){