diff --git a/platform/platform_linux.cpp b/platform/platform_linux.cpp index a0863e758f..0f2712bec3 100644 --- a/platform/platform_linux.cpp +++ b/platform/platform_linux.cpp @@ -169,3 +169,8 @@ Platform::ChargingStatus Platform::GetChargingStatus() { return Platform::ChargingStatus::Plugged; } + +void Platform::SetGuiThread(unique_ptr guiThread) +{ + m_guiThread = move(guiThread); +} diff --git a/platform/platform_qt.cpp b/platform/platform_qt.cpp index 194722dbf6..a35dba7099 100644 --- a/platform/platform_qt.cpp +++ b/platform/platform_qt.cpp @@ -101,11 +101,6 @@ void Platform::RunAsync(TFunctor const & fn, Priority p) } #endif // defined(OMIM_OS_LINUX) -void Platform::SetGuiThread(unique_ptr guiThread) -{ - m_guiThread = move(guiThread); -} - extern Platform & GetPlatform() { static Platform platform;