Gui: replace slots with member function pointers
This commit is contained in:
@@ -317,7 +317,7 @@ void CoinRiftWidget::initializeGL()
|
||||
void CoinRiftWidget::paintGL()
|
||||
{
|
||||
const int ms(1000 / 75 /*fps*/);
|
||||
QTimer::singleShot(ms, this, SLOT(updateGL()));
|
||||
QTimer::singleShot(ms, this, &CoinRiftWidget::updateGL);
|
||||
|
||||
// handling the safety warning
|
||||
handlingSafetyWarning();
|
||||
@@ -504,4 +504,4 @@ int main(int argc, char *argv[])
|
||||
|
||||
#endif //BUILD_RIFT_TEST_MAIN
|
||||
|
||||
#endif //BUILD_VR
|
||||
#endif //BUILD_VR
|
||||
|
||||
Reference in New Issue
Block a user