diff -r d0d666503fd5 -r 1db2486e45f4 QTfrontend/hwform.h --- a/QTfrontend/hwform.h Sun Oct 23 01:47:44 2011 -0400 +++ b/QTfrontend/hwform.h Sun Oct 23 09:01:53 2011 +0200 @@ -20,6 +20,7 @@ #define HWFORM_H #include +#include #include #include @@ -168,12 +169,13 @@ BGWidget * wBackground; QSignalMapper * pageSwitchMapper; QByteArray m_lastDemo; + QMutex onPageShownMutex; #ifdef __APPLE__ InstallController * panel; #endif - void OnPageShown(quint8 id, quint8 lastid=0); + void OnPageShown(quint8 id, quint8 lastid=0); // thread-safe }; #endif