diff options
| author | Ahmad Samir <[email protected]> | 2023-11-18 20:09:49 +0200 |
|---|---|---|
| committer | Ahmad Samir <[email protected]> | 2024-03-03 19:56:55 +0200 |
| commit | 577a3dba521f7f69bf6129fcd28184ae288182d9 (patch) | |
| tree | 5e28ffe662343604cac580188ed2b55fe0b78e0d /src/openglwidgets/qopenglwidget.cpp | |
| parent | bd764cc1ca578759f16fbe292fbe14a243b7d263 (diff) | |
Q{Chrono}Timer: de-duplicate some code
Q{Chrono}Timer::isActive() has to use isActiveData so that the bindable
property is correctly queried. However in other places in the code we
can take a shortcut by checking id > 0.
So rename QTimerPrivate::isActiveActualCalculation() to make it more
palatable and use it throughout the code.
Change-Id: I3378233e553fd860d9f105bba013dc9ffc31a2ba
Reviewed-by: Thiago Macieira <[email protected]>
Diffstat (limited to 'src/openglwidgets/qopenglwidget.cpp')
0 files changed, 0 insertions, 0 deletions
