mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Use constants for URLs
This commit is contained in:
parent
7b3d33c2a4
commit
8514a39812
2 changed files with 5 additions and 3 deletions
|
@ -24,6 +24,7 @@
|
|||
#include "LoginDialog.h"
|
||||
#include "UIUtil.h"
|
||||
|
||||
const QString CREATE_ACCOUNT_URL = NetworkingConstants::METAVERSE_SERVER_URL.toString() + "/create";
|
||||
const QString FORGOT_PASSWORD_URL = NetworkingConstants::METAVERSE_SERVER_URL.toString() + "/users/password/new";
|
||||
|
||||
LoginDialog::LoginDialog(QWidget* parent) :
|
||||
|
@ -45,6 +46,7 @@ LoginDialog::LoginDialog(QWidget* parent) :
|
|||
this, &LoginDialog::close);
|
||||
|
||||
UIUtil::scaleWidgetFontSizes(this);
|
||||
_ui->accountLabel->setText(_ui->accountLabel->text().arg(CREATE_ACCOUNT_URL, FORGOT_PASSWORD_URL));
|
||||
|
||||
// Initialize toggle connection
|
||||
toggleQAction();
|
||||
|
|
|
@ -447,7 +447,7 @@ border-radius: 4px; padding-top: 1px;</string>
|
|||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label">
|
||||
<widget class="QLabel" name="accountLabel">
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Helvetica,Arial,sans-serif</family>
|
||||
|
@ -460,8 +460,8 @@ a { text-decoration: none; color: #267077; margin:0;padding:0;}
|
|||
#create {font-weight:bold;}
|
||||
p {margin:5px 0;}
|
||||
</style>
|
||||
<p><a id="create" href="https://metaverse.highfidelity.com/signup">Create account</a></p>
|
||||
<p><a href="https://metaverse.highfidelity.com/users/password/new">Recover password</a></p></string>
|
||||
<p><a id="create" href="%1">Create account</a></p>
|
||||
<p><a href="%2">Recover password</a></p></string>
|
||||
</property>
|
||||
<property name="openExternalLinks">
|
||||
<bool>true</bool>
|
||||
|
|
Loading…
Reference in a new issue