MCPcopy Create free account
hub / github.com/QNapi/qnapi / showCreateAccount

Method showCreateAccount

gui/src/qnapiapp.cpp:265–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263}
264
265void QNapiApp::showCreateAccount(const QString &engineName) const {
266 Maybe<QUrl> maybeRegistrationUrl =
267 enginesRegistry->engineMetadata(engineName).registrationUrl();
268
269 if (maybeRegistrationUrl) {
270 QDesktopServices::openUrl(maybeRegistrationUrl.value());
271 }
272}
273
274void QNapiApp::showOSUploadDialog() const {
275 QDesktopServices::openUrl(QUrl("http://www.opensubtitles.org/upload"));

Callers

nothing calls this directly

Calls 2

registrationUrlMethod · 0.80
engineMetadataMethod · 0.80

Tested by

no test coverage detected