[libcalamares] Fix typo in API

- "asynchronouse" is not a thing
This commit is contained in:
Adriaan de Groot 2020-03-24 13:43:19 +01:00
parent cf59e2884a
commit 1eec1a9fe7
3 changed files with 3 additions and 3 deletions

View File

@ -276,7 +276,7 @@ Manager::synchronousGet( const QUrl& url, const RequestOptions& options )
}
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 );
}

View File

@ -146,7 +146,7 @@ public:
* This may be a nullptr if an error occurs immediately.
* 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:
class Private;

View File

@ -187,7 +187,7 @@ NetInstallPage::loadGroupList( const QString& confUrl )
using namespace CalamaresUtils::Network;
cDebug() << "NetInstall loading groups from" << confUrl;
QNetworkReply* reply = Manager::instance().asynchronouseGet(
QNetworkReply* reply = Manager::instance().asynchronousGet(
QUrl( confUrl ),
RequestOptions( RequestOptions::FakeUserAgent | RequestOptions::FollowRedirect, std::chrono::seconds( 30 ) ) );