]> cloud.milkyroute.net Git - dolphin.git/commit
DolphinView: Remove -1 interval, add setAutoActivationEnabled
authorAkseli Lahtinen <akselmo@akselmo.dev>
Fri, 9 May 2025 10:34:30 +0000 (13:34 +0300)
committerAkseli Lahtinen <akselmo@akselmo.dev>
Fri, 9 May 2025 10:34:30 +0000 (13:34 +0300)
commit2201018673467bf7a871082b1fd1e3f8c6f926e7
tree0eac8446d79c39e83432a2e8f60378c67cfcaf56
parent882cd01717f53ac544c54fec3d03163b8fbdebe7
DolphinView: Remove -1 interval, add setAutoActivationEnabled

In future Qt versions, Qt Timers do not allow negative intervals.
Instead, they will be changed to 1.

Related Qt commit:
https://github.com/qt/qtbase/commit/f1f610bc67bfd5c2ef31270a6945e7bae93b5e4a

Instead of relying on the interval, use a boolean variable
to check if the autoactivation is enabled or not.
src/kitemviews/kitemlistcontroller.cpp
src/kitemviews/kitemlistcontroller.h
src/panels/folders/folderspanel.cpp
src/views/dolphinview.cpp