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

Q_NO_BEARERMANAGEMENT typo error in qnetworkaccesshttpbackend.cpp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1: Critical P1: Critical
    • None
    • 4.8.0
    • None

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes