Merge pull request #6638 from 67hz/enhancement/help-menu-help-link-6472
#6472
This commit is contained in:
commit
a1421bf13c
3 changed files with 17 additions and 0 deletions
|
|
@ -17,6 +17,7 @@
|
|||
*/
|
||||
|
||||
#define DOWNLOAD_URL "http://symless.com/?source=gui"
|
||||
#define HELP_URL "http://symless.com/help?source=gui"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
|
|
@ -312,6 +313,8 @@ void MainWindow::createMenuBar()
|
|||
m_pMenuWindow->addAction(m_pActionMinimize);
|
||||
m_pMenuWindow->addAction(m_pActionRestore);
|
||||
m_pMenuHelp->addAction(m_pActionAbout);
|
||||
m_pMenuHelp->addAction(m_pActionHelp);
|
||||
|
||||
|
||||
setMenuBar(m_pMenuBar);
|
||||
}
|
||||
|
|
@ -1258,6 +1261,11 @@ void MainWindow::on_m_pActionAbout_triggered()
|
|||
dlg.exec();
|
||||
}
|
||||
|
||||
void MainWindow::on_m_pActionHelp_triggered()
|
||||
{
|
||||
QDesktopServices::openUrl(QUrl(HELP_URL));
|
||||
}
|
||||
|
||||
void MainWindow::updateZeroconfService()
|
||||
{
|
||||
#ifndef SYNERGY_ENTERPRISE
|
||||
|
|
|
|||
|
|
@ -149,6 +149,7 @@ public slots:
|
|||
void on_m_pButtonConfigureServer_clicked();
|
||||
bool on_m_pActionSave_triggered();
|
||||
void on_m_pActionAbout_triggered();
|
||||
void on_m_pActionHelp_triggered();
|
||||
void on_m_pActionSettings_triggered();
|
||||
void on_m_pActivate_triggered();
|
||||
void synergyFinished(int exitCode, QProcess::ExitStatus);
|
||||
|
|
|
|||
|
|
@ -535,6 +535,14 @@
|
|||
<string notr="true"/>
|
||||
</property>
|
||||
</action>
|
||||
<action name="m_pActionHelp">
|
||||
<property name="text">
|
||||
<string>Visit &help site</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
</action>
|
||||
<action name="m_pActionQuit">
|
||||
<property name="text">
|
||||
<string>&Quit</string>
|
||||
|
|
|
|||
Loading…
Reference in a new issue