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

Q_NO_BEARERMANAGEMENT typo error in qnetworkaccesshttpbackend.cpp

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Duplicate
    • Affects Version/s: 4.8.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      In src/network/access/qnetworkaccesshttpbackend.cpp, the code belows seems to be the only place where Q_NO_BEARERMANAGEMENT is used while every else, QT_NO_BEARERMANAGEMENT is used. I believe this is a typo error here and if QT_NO_BEARERMANAGEMENT is defined, the code below causes compilation error.

      // Create the HTTP thread delegate
      QHttpThreadDelegate *delegate = new QHttpThreadDelegate;
      #ifndef Q_NO_BEARERMANAGEMENT
      QVariant v(property("_q_networksession"));
      if (v.isValid())
      delegate->networkSession = qvariant_cast<QSharedPointer<QNetworkSession> >(v);
      #endif

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              shkearns Shane Kearns
              Reporter:
              yatkeong Yat Sze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes