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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user