forked from qt-creator/qt-creator
avoid crash during Android Virtual Device Manager launch
Change-Id: I9d496fd8e6b976f2cdfe891139475636ad3be018 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
committed by
Eike Ziller
parent
1cf2d2942c
commit
54498da3b4
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user