aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/src/main.cpp
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-04-05 15:51:07 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-04-05 15:51:07 +0900
commit05743cd2655c20b052b2f3e16c9ad2109ba77dca (patch)
tree38107978246c524763077cbe3f7b6b5cfcb955cd /homescreen/src/main.cpp
parent3c5ae32f75e799758e221c91c8452ea7eb1258e5 (diff)
Diffstat (limited to 'homescreen/src/main.cpp')
-rw-r--r--homescreen/src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/homescreen/src/main.cpp b/homescreen/src/main.cpp
index d2568d8..a1a13e9 100644
--- a/homescreen/src/main.cpp
+++ b/homescreen/src/main.cpp
@@ -101,6 +101,8 @@ int main(int argc, char *argv[])
exit(EXIT_FAILURE);
}
+ AGLScreenInfo screenInfo(layoutHandler->get_scale_factor());
+
if (layoutHandler->requestSurface(QString("HomeScreen")) != 0) {
exit(EXIT_FAILURE);
}