SYNERGY-1229 Synergy is running after quit on Linux
This commit is contained in:
parent
7da8c35531
commit
fbab3f8f3a
2 changed files with 8 additions and 0 deletions
|
|
@ -1506,6 +1506,13 @@ void MainWindow::enableClient(bool enable)
|
|||
}
|
||||
}
|
||||
|
||||
void MainWindow::closeEvent(QCloseEvent* event)
|
||||
{
|
||||
#if defined (Q_OS_LINUX)
|
||||
qApp->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