Gui: replace slots with member function pointers

This commit is contained in:
wmayer
2023-02-01 16:16:05 +01:00
committed by Uwe
parent 1e03fddb67
commit 76860143f7
16 changed files with 79 additions and 70 deletions

View File

@@ -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