mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-27 10:38:48 +03:00
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">
|
||||
<widget class="QLabel" name="m_pLabelForgotPassword">
|
||||
<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 name="openExternalLinks">
|
||||
<bool>true</bool>
|
||||
|
@ -16,7 +16,7 @@
|
||||
* 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>
|
||||
|
||||
@ -324,7 +324,7 @@ void MainWindow::updateFound(const QString &version)
|
||||
tr("<p>Your version of Synergy is out of date. "
|
||||
"Version <b>%1</b> is now available to "
|
||||
"<a href=\"%2\">download</a>.</p>")
|
||||
.arg(version).arg("http://synergy-foss.org"));
|
||||
.arg(version).arg(DOWNLOAD_URL));
|
||||
}
|
||||
|
||||
void MainWindow::appendLogNote(const QString& text)
|
||||
|
@ -112,7 +112,7 @@ bool SetupWizard::validateCurrentPage()
|
||||
}
|
||||
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);
|
||||
m_pRadioButtonPremiumLogin->setChecked(true);
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user