History

Bugfix: stop audio when app starts

Gabriel Calero committed 8 years ago

Commit 5a73da61 parent 96da0326 files · +31 −26Browse files

Showing the changes to interface/src/Application.cpp (1 of 6 files). Show all

Unified · Split

interface/src/Application.cpp+2−1
@@ -2265,6 +2265,8 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo · 2264 unmodified lines
22652265
22662266 #if defined(Q_OS_ANDROID)
22672267 AndroidHelper::instance().init();
2268+ connect(&AndroidHelper::instance(), &AndroidHelper::enterBackground, this, &Application::enterBackground);
2269+ connect(&AndroidHelper::instance(), &AndroidHelper::enterForeground, this, &Application::enterForeground);
22682270 AndroidHelper::instance().notifyLoadComplete();
22692271 #endif
22702272 }
@@ -8290,5 +8292,4 @@ void Application::enterForeground() { · 6019 unmodified lines
82908292 }
82918293 #endif
82928294
8293−#include "Application_jni.cpp"
82948295 #include "Application.moc"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t