Merge pull request #7092 from symless/SYNERGY-1229-Synergy-is-running-after-quit-on-Linux
SYNERGY-1229 Synergy is running after quit on Linux
This commit is contained in:
commit
34b6fe6018
3 changed files with 9 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ Bug fixes:
|
|||
- #7082 Windows client doesn't resume connection after sleep
|
||||
- #7089 Modifier keys don't work on Microsoft Remote Desktop
|
||||
- #7091 Fix CMakeFileList for unittests
|
||||
- #7092 Synergy is running after quit on Linux
|
||||
|
||||
Enhancements:
|
||||
- #7068 Add Synergy restart when settings changed
|
||||
|
|
|
|||
|
|
@ -1506,6 +1506,13 @@ void MainWindow::enableClient(bool enable)
|
|||
}
|
||||
}
|
||||
|
||||
void MainWindow::closeEvent(QCloseEvent* event)
|
||||
{
|
||||
#if defined (Q_OS_LINUX)
|
||||
QCoreApplication::quit();
|
||||
#endif
|
||||
QWidget::closeEvent(event);
|
||||
}
|
||||
|
||||
void MainWindow::on_m_pRadioGroupServer_clicked(bool)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -195,6 +195,7 @@ public slots:
|
|||
void retranslateMenuBar();
|
||||
void enableServer(bool enable);
|
||||
void enableClient(bool enable);
|
||||
void closeEvent(QCloseEvent* event) override;
|
||||
|
||||
#if defined(Q_OS_WIN)
|
||||
bool isServiceRunning(QString name);
|
||||
|
|
|
|||
Loading…
Reference in a new issue