This repository was archived by the owner on Sep 24, 2023. It is now read-only.
Commit 71b5416
committed
Fix idle detection logic
Do not assume that there is only one idle event at a time, the OS X
idle detector can hold multiple events before the dialog becomes
visible (as it can receive multiple wake-up events in a row).
The old logic didn't show the dialog in that case at all.
Fixes #220
Change-Id: I36b016634023ebe3132debd6ca78992a62fb0b64
Reviewed-on: https://codereview.kdab.com/32376
Tested-by: Continuous Integration <[email protected]>
Reviewed-by: Hannah von Reth <[email protected]>1 parent 6d52fc8 commit 71b5416
File tree
4 files changed
+25
-37
lines changed- Charm
- Widgets
4 files changed
+25
-37
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
803 | 802 | | |
804 | 803 | | |
805 | 804 | | |
806 | | - | |
807 | | - | |
808 | | - | |
| 805 | + | |
809 | 806 | | |
810 | 807 | | |
811 | 808 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | 2 | | |
5 | 3 | | |
6 | 4 | | |
7 | 5 | | |
8 | | - | |
| 6 | + | |
9 | 7 | | |
10 | 8 | | |
11 | 9 | | |
| |||
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
40 | 32 | | |
41 | | - | |
42 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
43 | 36 | | |
44 | | - | |
45 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
46 | 40 | | |
47 | 41 | | |
48 | 42 | | |
| 43 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | | - | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
621 | 621 | | |
622 | 622 | | |
623 | 623 | | |
624 | | - | |
| 624 | + | |
625 | 625 | | |
626 | | - | |
627 | | - | |
| 626 | + | |
| 627 | + | |
628 | 628 | | |
629 | | - | |
630 | | - | |
631 | | - | |
632 | | - | |
633 | | - | |
| 629 | + | |
634 | 630 | | |
635 | 631 | | |
636 | 632 | | |
| |||
646 | 642 | | |
647 | 643 | | |
648 | 644 | | |
649 | | - | |
650 | 645 | | |
651 | 646 | | |
652 | 647 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| 145 | + | |
145 | 146 | | |
146 | 147 | | |
147 | 148 | | |
0 commit comments