summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorAhmad Samir <[email protected]>2025-10-02 19:49:40 +0300
committerMarc Mutz <[email protected]>2025-10-18 20:49:22 +0000
commit75bb26261bf66c9beda84a6aad54bcd272b8d4dc (patch)
tree62ffa930589d841a578794ba132ec79acd7d6391 /src/gui
parent37b37cddb67febd595cb06b54ac08f1e676ead4d (diff)
QTimer: fix clang -Wshorten-64-to-32 warningsHEADdev
std::chrono::milliseconds::count() does not return int, so assigning the result to an int variable triggers said warning. Fix by using q26::saturate_cast<int> and checking (or asserting) that the value didn't change. Amends 1ca89b65d85c5df971fac7c1f9d5678e0e0cf45b. Pick-to: 6.10 6.8 Change-Id: I419c931d04b533402335568cc2e9569cc627f117 Reviewed-by: Marc Mutz <[email protected]> Reviewed-by: Thiago Macieira <[email protected]>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions