From 5fdf8b92e78b2a5690ba0e9642c0d68d8b2e4495 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 27 Apr 2013 18:52:37 +0200 Subject: Fix embarassing locking but propagated through the codebase :( --- ftnoir_protocol_ft/ftnoir_protocol_ft.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ftnoir_protocol_ft/ftnoir_protocol_ft.h') diff --git a/ftnoir_protocol_ft/ftnoir_protocol_ft.h b/ftnoir_protocol_ft/ftnoir_protocol_ft.h index e1e46876..0915a5f3 100644 --- a/ftnoir_protocol_ft/ftnoir_protocol_ft.h +++ b/ftnoir_protocol_ft/ftnoir_protocol_ft.h @@ -60,7 +60,7 @@ public: bool checkServerInstallationOK( ); void sendHeadposeToGame( double *headpose, double *rawheadpose ); QString getGameName() { - QMutexLocker((QMutex*)&game_name_mutex); + QMutexLocker foo(&game_name_mutex); return connected_game; } -- cgit v1.2.3