Changeset 58243 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Oct 14, 2015 1:57:23 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/net/UINetworkReply.cpp
r58242 r58243 91 91 return QString(); 92 92 } 93 /** Returns URL of the reply which is the URL of the request for now. */ 94 QUrl url() const { return m_request.url(); } 93 95 /** @} */ 94 96 … … 267 269 { 268 270 /* Check if we really need SSL: */ 269 if (! m_request.url().toString().startsWith("https:", Qt::CaseInsensitive))271 if (!url().toString().startsWith("https:", Qt::CaseInsensitive)) 270 272 return VINF_SUCCESS; 271 273 … … 863 865 QString header(QNetworkRequest::KnownHeaders type) const { return m_pThread->header(type); } 864 866 867 /** Returns URL of the reply. */ 868 QUrl url() const { return m_pThread->url(); } 869 865 870 private slots: 866 871 … … 1016 1021 { 1017 1022 case UINetworkReplyType_Qt: result = qobject_cast<QNetworkReply*>(m_pReply)->url(); break; 1018 case UINetworkReplyType_Our: /* TODO: url() */break;1023 case UINetworkReplyType_Our: result = qobject_cast<UINetworkReplyPrivate*>(m_pReply)->url(); break; 1019 1024 } 1020 1025 return result;
Note:
See TracChangeset
for help on using the changeset viewer.