Convert m_pPumpEventsTimer into object

Having an extra layer of indirection was unnecessary.

The if statement guard to check if the pointer is null is now
unnecessary.
This commit is contained in:
Vasily
2019-11-30 18:14:49 +01:00
committed by username223
parent 96e80ec3ce
commit 8300f5395e
2 changed files with 10 additions and 14 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ private:
QOpenGLContext m_openGLContext;
QOffscreenSurface m_offscreenSurface;
std::unique_ptr<QTimer> m_pPumpEventsTimer;
QTimer m_pumpEventsTimer;
std::unique_ptr<QTimer> m_pRenderTimer;
bool m_dashboardVisible = false;