[clazy] [Bug 389057] New: warn about QTimer::singleShot(0) performance

Milian Wolff bugzilla_noreply at kde.org
Tue Jan 16 14:23:47 GMT 2018


https://bugs.kde.org/show_bug.cgi?id=389057

            Bug ID: 389057
           Summary: warn about QTimer::singleShot(0) performance
           Product: clazy
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: mail at milianw.de
                CC: smartins at kde.org
  Target Milestone: ---

See also:

https://codereview.qt-project.org/#/c/216497/

Generally, it should be warned to not use QTimer::singleShot(0, Functor), as
that cannot be optimized easily. It should instead use QTimer::singleShot(0,
ctx, Functor);

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list