Commit 54498da3 authored by Nikolay Shalakin's avatar Nikolay Shalakin Committed by Eike Ziller

avoid crash during Android Virtual Device Manager launch

Change-Id: I9d496fd8e6b976f2cdfe891139475636ad3be018
Reviewed-by: default avatarhjk <hjk@qt.io>
Reviewed-by: Eike Ziller's avatarEike Ziller <eike.ziller@qt.io>
parent 1cf2d294
......@@ -808,7 +808,7 @@ void AndroidRunner::setRunnable(const AndroidRunnable &runnable)
void AndroidRunner::launchAVD()
{
if (!m_target && !m_target->project())
if (!m_target || !m_target->project())
return;
int deviceAPILevel = AndroidManager::minimumSDK(m_target);
......
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