~jfb-tempo-consulting/qbrz/1939011

Viewing all changes in revision 1636.

  • Committer: RJL situp
  • Date: 2021-01-08 10:02:55 UTC
  • Revision ID: it@file-away.co.uk-20210108100255-aur2ibc793l8dosj
Changed QTimer.singleShot(0... to 1 - behaviour of Qt5 seems to differ. The docs state (for Qt5):-

As a special case, a QTimer with a timeout of 0 will time out as soon as possible, though the ordering between zero timers and other sources of events is unspecified. Zero timers can be used to do some work while still providing a snappy user interface...

However, what actually happens (with QBrz) is that the shot only occurs when something else actually happens (a mouse-click, moving a window, a click outside QBrz, etc.)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: