Signals and slots: priority
-
@
while (begin != end) // iterators
{
Zone* friendZone = memory.take((*begin));if (friendZone->isEnabled()) { friendZone->click(); friendZone->setDisabled(true); // label 1 } begin++; }
@
i can tryind disablet object before qt processing click;
slot connected witch clicked:
@
qobject_cast<Zone *>(sender())->setDisabled(true);... actions witch Disabled object
@but again he not disabled him
what i do wrong?
sorry for my english -
solved, error in
@Zone* friendZone = memory.take((*begin)); @
i use take and it wrong fixed on .value