Commit 878429ad authored by Christian Kandeler's avatar Christian Kandeler
Browse files

Remote Linux: Fix possible crash.

Change-Id: I1519117381dbeb22d40546ecf8467079ca85aa35
Reviewed-on: http://codereview.qt.nokia.com/677

Reviewed-by: default avatarChristian Kandeler <christian.kandeler@nokia.com>
parent a529a804
......@@ -64,8 +64,7 @@ void MaemoDeployables::init()
// TODO do we want to disable the view
if (!m_target->qt4Project()->rootProjectNode()->parseInProgress())
createModels();
createModels();
}
void MaemoDeployables::startTimer(Qt4ProjectManager::Qt4ProFileNode*, bool success, bool parseInProgress)
......@@ -81,7 +80,7 @@ void MaemoDeployables::createModels()
return;
const Qt4ProFileNode *const rootNode
= m_target->qt4Project()->rootProjectNode();
if (!rootNode) // Happens on project creation by wizard.
if (!rootNode || rootNode->parseInProgress()) // Can be null right after project creation by wizard.
return;
m_updateTimer->stop();
disconnect(m_target->qt4Project(),
......
Supports Markdown
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