diff options
author | Dominik Holland <dominik.holland@qt.io> | 2024-01-22 17:08:23 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-01-22 17:21:25 +0000 |
commit | e64f8ad792f3be2aad83ef3b2baaca64f928ab2d (patch) | |
tree | c5314f112b051d0b3c052dc925a05ca1fbc012bd | |
parent | 499b7800fc78462cd1bc289bcea115ba3e16c58b (diff) |
QIfRemoteObjectsConfig: Fix typo in function name
Change-Id: Ic28c98e57e783c0078b1a2ecc50d64a10b884e37
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
(cherry picked from commit f0ea5f2e859a6bbb712d7b112285447666e3d854)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
4 files changed, 5 insertions, 5 deletions
diff --git a/src/helper/remoteobjects/qifremoteobjectsconfig.cpp b/src/helper/remoteobjects/qifremoteobjectsconfig.cpp index 9c79e2df..10d3d8e3 100644 --- a/src/helper/remoteobjects/qifremoteobjectsconfig.cpp +++ b/src/helper/remoteobjects/qifremoteobjectsconfig.cpp @@ -76,7 +76,7 @@ Q_LOGGING_CATEGORY(qLcQtIfRoConfig, "qt.if.remoteobjects.config", QtInfoMsg) Sets the \a defaultServerUrl, which will be used for all services which don't have a server set either for the interface or the module inside a config file. */ -void QIfRemoteObjectsConfig::setDefautServerUrl(const QUrl &defaultServerUrl) +void QIfRemoteObjectsConfig::setDefaultServerUrl(const QUrl &defaultServerUrl) { m_defaultServer = defaultServerUrl; } @@ -132,7 +132,7 @@ bool QIfRemoteObjectsConfig::reportErrorsOnStdErr() const Returns a QRemoteObjectHost with a preconfigured url. The url is specific to the provided \a module and \a interface arguments and can be modified - using the \l setDefautServerUrl() function or by using one of the config files. + using the \l setDefaultServerUrl() function or by using one of the config files. If multiple values are configured the urls are resolved in the following order: \list numbered diff --git a/src/helper/remoteobjects/qifremoteobjectsconfig.h b/src/helper/remoteobjects/qifremoteobjectsconfig.h index c618775f..466b2871 100644 --- a/src/helper/remoteobjects/qifremoteobjectsconfig.h +++ b/src/helper/remoteobjects/qifremoteobjectsconfig.h @@ -18,7 +18,7 @@ public: QIfRemoteObjectsConfig() = default; virtual ~QIfRemoteObjectsConfig() = default; - void setDefautServerUrl(const QUrl &defaultServerUrl); + void setDefaultServerUrl(const QUrl &defaultServerUrl); void parseConfigFile(const QString &confFilePath); void parseLegacyConfigFile(); diff --git a/src/tools/ifcodegen/templates/server_qtro/main.cpp.tpl b/src/tools/ifcodegen/templates/server_qtro/main.cpp.tpl index 3620f583..c0f089cd 100644 --- a/src/tools/ifcodegen/templates/server_qtro/main.cpp.tpl +++ b/src/tools/ifcodegen/templates/server_qtro/main.cpp.tpl @@ -44,7 +44,7 @@ int main(int argc, char *argv[]) QIfRemoteObjectsConfig config; if (parser.isSet(serverUrlOption)) - config.setDefautServerUrl(parser.value(serverUrlOption)); + config.setDefaultServerUrl(parser.value(serverUrlOption)); if (parser.isSet(confOption)) config.parseConfigFile(parser.value(confOption)); if (!parser.isSet(serverUrlOption) && !parser.isSet(confOption)) diff --git a/src/tools/ifcodegen/templates/server_qtro_simulator/main.cpp.tpl b/src/tools/ifcodegen/templates/server_qtro_simulator/main.cpp.tpl index 6ed6219c..29153ac9 100644 --- a/src/tools/ifcodegen/templates/server_qtro_simulator/main.cpp.tpl +++ b/src/tools/ifcodegen/templates/server_qtro_simulator/main.cpp.tpl @@ -87,7 +87,7 @@ int main(int argc, char *argv[]) QIfRemoteObjectsConfig config; if (parser.isSet(serverUrlOption)) - config.setDefautServerUrl(parser.value(serverUrlOption)); + config.setDefaultServerUrl(parser.value(serverUrlOption)); if (parser.isSet(confOption)) config.parseConfigFile(parser.value(confOption)); if (!parser.isSet(serverUrlOption) && !parser.isSet(confOption)) |