added ?source url arg to gui links.
This commit is contained in:
parent
2182906451
commit
13b2649fa0
|
@ -296,7 +296,7 @@
|
||||||
<item row="2" column="1">
|
<item row="2" column="1">
|
||||||
<widget class="QLabel" name="m_pLabelForgotPassword">
|
<widget class="QLabel" name="m_pLabelForgotPassword">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string><a href="https://synergy-foss.org/premium/reset/">Forgot password</a></string>
|
<string><a href="https://synergy-foss.org/premium/reset/?source=gui">Forgot password</a></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="openExternalLinks">
|
<property name="openExternalLinks">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define WEBSITE_ADDRESS "synergy-foss.org"
|
#define DOWNLOAD_URL "http://synergy-foss.org/?source=gui"
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
@ -324,7 +324,7 @@ void MainWindow::updateFound(const QString &version)
|
||||||
tr("<p>Your version of Synergy is out of date. "
|
tr("<p>Your version of Synergy is out of date. "
|
||||||
"Version <b>%1</b> is now available to "
|
"Version <b>%1</b> is now available to "
|
||||||
"<a href=\"%2\">download</a>.</p>")
|
"<a href=\"%2\">download</a>.</p>")
|
||||||
.arg(version).arg("http://synergy-foss.org"));
|
.arg(version).arg(DOWNLOAD_URL));
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::appendLogNote(const QString& text)
|
void MainWindow::appendLogNote(const QString& text)
|
||||||
|
|
|
@ -112,7 +112,7 @@ bool SetupWizard::validateCurrentPage()
|
||||||
}
|
}
|
||||||
else if (m_pRadioButtonPremiumRegister->isChecked())
|
else if (m_pRadioButtonPremiumRegister->isChecked())
|
||||||
{
|
{
|
||||||
const QUrl url(QString("https://synergy-foss.org/premium/register/"));
|
const QUrl url(QString("https://synergy-foss.org/premium/register/?source=gui"));
|
||||||
QDesktopServices::openUrl(url);
|
QDesktopServices::openUrl(url);
|
||||||
m_pRadioButtonPremiumLogin->setChecked(true);
|
m_pRadioButtonPremiumLogin->setChecked(true);
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue