[libcalamares] Fix typo in API
- "asynchronouse" is not a thing
This commit is contained in:
parent
cf59e2884a
commit
1eec1a9fe7
@ -276,7 +276,7 @@ Manager::synchronousGet( const QUrl& url, const RequestOptions& options )
|
|||||||
}
|
}
|
||||||
|
|
||||||
QNetworkReply*
|
QNetworkReply*
|
||||||
Manager::asynchronouseGet( const QUrl& url, const CalamaresUtils::Network::RequestOptions& options )
|
Manager::asynchronousGet( const QUrl& url, const CalamaresUtils::Network::RequestOptions& options )
|
||||||
{
|
{
|
||||||
return asynchronousRun( d->nam(), url, options );
|
return asynchronousRun( d->nam(), url, options );
|
||||||
}
|
}
|
||||||
|
@ -146,7 +146,7 @@ public:
|
|||||||
* This may be a nullptr if an error occurs immediately.
|
* This may be a nullptr if an error occurs immediately.
|
||||||
* The caller is responsible for cleaning up the reply (eventually).
|
* The caller is responsible for cleaning up the reply (eventually).
|
||||||
*/
|
*/
|
||||||
QNetworkReply* asynchronouseGet( const QUrl& url, const RequestOptions& options = RequestOptions() );
|
QNetworkReply* asynchronousGet( const QUrl& url, const RequestOptions& options = RequestOptions() );
|
||||||
|
|
||||||
private:
|
private:
|
||||||
class Private;
|
class Private;
|
||||||
|
@ -187,7 +187,7 @@ NetInstallPage::loadGroupList( const QString& confUrl )
|
|||||||
using namespace CalamaresUtils::Network;
|
using namespace CalamaresUtils::Network;
|
||||||
|
|
||||||
cDebug() << "NetInstall loading groups from" << confUrl;
|
cDebug() << "NetInstall loading groups from" << confUrl;
|
||||||
QNetworkReply* reply = Manager::instance().asynchronouseGet(
|
QNetworkReply* reply = Manager::instance().asynchronousGet(
|
||||||
QUrl( confUrl ),
|
QUrl( confUrl ),
|
||||||
RequestOptions( RequestOptions::FakeUserAgent | RequestOptions::FollowRedirect, std::chrono::seconds( 30 ) ) );
|
RequestOptions( RequestOptions::FakeUserAgent | RequestOptions::FollowRedirect, std::chrono::seconds( 30 ) ) );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user