Maemo: Fix Qemu button state.

Took inactive targets into account.
This commit is contained in:
Christian Kandeler
2011-04-13 16:23:34 +02:00
parent 486eae674b
commit 941691140c

View File

@@ -550,6 +550,8 @@ bool MaemoQemuManager::targetUsesMatchingRuntimeConfig(Target *target,
{
if (!target)
return false;
if (target != target->project()->activeTarget())
return false;
MaemoRunConfiguration *mrc =
qobject_cast<MaemoRunConfiguration *> (target->activeRunConfiguration());