Commit b45ce841 authored by Christian Kandeler's avatar Christian Kandeler
Browse files

Maemo: Prevent disconnecting null pointer.

parent 49bfb964
......@@ -104,7 +104,8 @@ void MaemoDeviceEnvReader::handleCurrentDeviceConfigChanged()
{
m_devConfig = m_runConfig->deviceConfig();
disconnect(m_remoteProcessRunner.data(), 0, this, 0);
if (m_remoteProcessRunner)
disconnect(m_remoteProcessRunner.data(), 0, this, 0);
m_env.clear();
setFinished();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment