Uploaded image for project: 'Qt Safe Renderer'
  1. Qt Safe Renderer
  2. QSR-2252

Fix McCabe complexity of SafeWindowPrivate class in DRM graphics adaptation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • QSR 2.1.0 Beta 2
    • QSR 2.1
    • Runtime
    • None
    • 7214b8822 (dev), 24343bb99 (6.5), 610f88756 (6.5.3)

    Description

      McCabe complexity check for SafeWindowPrivate constructor fails badly. The constructor has a lot of code that shouldn't be in there. Move that code to it's own function and make it less complex somehow, for example moving the try-catch elsewhere.

      See:
      src/adaptation/graphics/drm/safewindow_p.cpp@336

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jussi_witick Jussi Witick
            jussi_witick Jussi Witick
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes