Showing the changes to interface/src/Application.cpp (1 of 6 files). Show all
Unified · Split
| @@ -2265,6 +2265,8 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo · 2264 unmodified lines | |||
| 2265 | 2265 | ||
| 2266 | #if defined(Q_OS_ANDROID) | 2266 | #if defined(Q_OS_ANDROID) |
| 2267 | AndroidHelper::instance().init(); | 2267 | AndroidHelper::instance().init(); |
| 2268 | connect(&AndroidHelper::instance(), &AndroidHelper::enterBackground, this, &Application::enterBackground); | ||
| 2269 | connect(&AndroidHelper::instance(), &AndroidHelper::enterForeground, this, &Application::enterForeground); | ||
| 2268 | AndroidHelper::instance().notifyLoadComplete(); | 2270 | AndroidHelper::instance().notifyLoadComplete(); |
| 2269 | #endif | 2271 | #endif |
| 2270 | } | 2272 | } |
| @@ -8290,5 +8292,4 @@ void Application::enterForeground() { · 6019 unmodified lines | |||
| 8290 | } | 8292 | } |
| 8291 | #endif | 8293 | #endif |
| 8292 | 8294 | ||
| 8293 | #include "Application_jni.cpp" | ||
| 8294 | #include "Application.moc" | 8295 | #include "Application.moc" |