Make scripting interface members thread safe

This commit is contained in:
Brad Davis 2016-03-09 23:50:12 -08:00
parent aaed1d333b
commit f97e61e305

View file

@ -126,10 +126,10 @@ namespace controller {
QVariantMap _actions;
QVariantMap _standard;
bool _mouseCaptured{ false };
bool _touchCaptured{ false };
bool _wheelCaptured{ false };
bool _actionsCaptured{ false };
std::atomic<bool> _mouseCaptured{ false };
std::atomic<bool> _touchCaptured { false };
std::atomic<bool> _wheelCaptured { false };
std::atomic<bool> _actionsCaptured { false };
};