Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-121123 Lightning Viewer Example Issues (V1)
  3. QTBUG-121018

Lightning Viewer Example: Avoid Using Heap Memory When Is Not Necessary

    XMLWordPrintable

Details

    • e7aa32c8f (dev), e9a0f04ec (6.7)

    Description

      When a class/struct supports move semantics or they are value type, then no need to keep a pointer of them as a member in parent class.

      Also it's better to use std::unique_ptr instead of QScopedPointer.

      In the Lightning Viewer Example, some of these rules are not followed.

      Attachments

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

        Activity

          People

            mhqanbari MohammadHossein Qanbari
            mhqanbari MohammadHossein Qanbari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes