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

QDBusReply::error() should be const

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.1.0
    • 4.8.x, 5.0.1
    • D-Bus
    • None

    Description

      QDBusReply<T>::error() returns a reference to const QDBusError, but the function itself is not const. This means that one can not pass a const QDBusReply<T>& to any function which needs access to the QDBusError associated with the reply.

      Attachments

        For Gerrit Dashboard: QTBUG-29917
        # Subject Branch Project Status CR V

        Activity

          People

            nierob Nierob
            tsimpson Terence Simpson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes