Changes in src/Actions/ActionQueue.cpp [cfb9c5:06b5df]
- File:
-
- 1 edited
-
src/Actions/ActionQueue.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/ActionQueue.cpp
rcfb9c5 r06b5df 98 98 void ActionQueue::queueAction(const Action * const _action, enum Action::QueryOptions state) 99 99 { 100 OBSERVE; 101 NOTIFY(ActionQueued); 100 102 Action *newaction = _action->clone(state); 101 103 newaction->prepare(state); … … 121 123 std::cerr << "ActionQueue cleared." << std::endl; 122 124 } 123 if (lastActionOk) {124 OBSERVE;125 NOTIFY(ActionQueued);126 _lastchangedaction = newaction;127 }128 125 #else 129 126 { … … 133 130 mtx_queue.unlock(); 134 131 #endif 132 _lastchangedaction = newaction; 135 133 } 136 134 … … 195 193 CurrentAction = (size_t)-1; 196 194 } 197 if (lastActionOk) {198 OBSERVE;199 NOTIFY(ActionQueued);200 _lastchangedaction = actionqueue[CurrentAction];201 }202 195 // access actionqueue, hence using mutex 203 196 mtx_queue.lock();
Note:
See TracChangeset
for help on using the changeset viewer.
