Uploaded image for project: 'Qt for MCUs'
  1. Qt for MCUs
  2. QTMCU-34

Qul::Singleton misleading snippet for C++ access

    XMLWordPrintable

Details

    • 0
    • QUL Sprint 2.5/2021

    Description

      The Qul::Singleton docs snippet on how to access the singleton instance in C++ is very misleading. The snippet:

      _void someFunction()

      { MySingleton.instance().someProperty.setValue(42); }

      _

      looks like "MySingleton" would need to be an object / reference to one to compile.

      Attachments

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

        Activity

          People

            jan-karasinski Jan KarasiƄski
            miikapernu Miika Pernu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes