Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-12378

QString QNetworkConfiguration::bearerName () const should return an enum and not a QString

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 4.7.0
    • Fix Version/s: 4.7.0
    • Labels:
      None
    • Commits:
      613bc8eb31d8a80b43aa045ab2040b7cb7e0eadf, d12f39e50e4144f3272424bb0bff18c857105654, d524da81ee257a6bd67d32d0bc870280a7d5b8a4, 033b53a02fb02c5aec412e3d87ad9661110c6e6e 7e4807fed07e4c96086af00338601223b3353d29

      Description

      Returning a String to give back the type of bearer a NetworkConfiguration is using is old fashioned and not C++-y at all, the documentation already states "The string is not translated and therefore can not be shown to the user." so it should be much better if an enum was used, actually that's what enums where invented for.

        Attachments

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

          Activity

            People

            Assignee:
            jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
            Reporter:
            acidpk Albert Astals Cid (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes