fix: Add client dialog not showing for new clients
This commit is contained in:
@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Deskflow -- mouse and keyboard sharing utility
|
* Deskflow -- mouse and keyboard sharing utility
|
||||||
|
* SPDX-FileCopyrightText: (C) 2025 Chris Rizzitello <sithlord48@gmail.com>
|
||||||
* SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd.
|
* SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd.
|
||||||
* SPDX-FileCopyrightText: (C) 2008 Volker Lanz <vl@fidra.de>
|
* SPDX-FileCopyrightText: (C) 2008 Volker Lanz <vl@fidra.de>
|
||||||
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
|
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
|
||||||
@ -413,7 +414,7 @@ void ServerConfigDialog::on_m_pListActions_itemSelectionChanged()
|
|||||||
ui->m_pButtonRemoveAction->setEnabled(!ui->m_pListActions->selectedItems().isEmpty());
|
ui->m_pButtonRemoveAction->setEnabled(!ui->m_pListActions->selectedItems().isEmpty());
|
||||||
}
|
}
|
||||||
|
|
||||||
void ServerConfigDialog::on_m_pButtonAddComputer_clicked()
|
void ServerConfigDialog::addClient()
|
||||||
{
|
{
|
||||||
addComputer("", false);
|
addComputer("", false);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Deskflow -- mouse and keyboard sharing utility
|
* Deskflow -- mouse and keyboard sharing utility
|
||||||
|
* SPDX-FileCopyrightText: (C) 2025 Chris Rizzitello <sithlord48@gmail.com>
|
||||||
* SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd.
|
* SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd.
|
||||||
* SPDX-FileCopyrightText: (C) 2008 Volker Lanz <vl@fidra.de>
|
* SPDX-FileCopyrightText: (C) 2008 Volker Lanz <vl@fidra.de>
|
||||||
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
|
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
|
||||||
@ -45,12 +46,12 @@ protected slots:
|
|||||||
void on_m_pButtonEditAction_clicked();
|
void on_m_pButtonEditAction_clicked();
|
||||||
void on_m_pButtonRemoveAction_clicked();
|
void on_m_pButtonRemoveAction_clicked();
|
||||||
void on_m_pCheckBoxEnableClipboard_stateChanged(int state);
|
void on_m_pCheckBoxEnableClipboard_stateChanged(int state);
|
||||||
void on_m_pButtonAddComputer_clicked();
|
|
||||||
void onScreenRemoved();
|
void onScreenRemoved();
|
||||||
void on_m_pCheckBoxUseExternalConfig_toggled(bool checked = false);
|
void on_m_pCheckBoxUseExternalConfig_toggled(bool checked = false);
|
||||||
bool on_m_pButtonBrowseConfigFile_clicked();
|
bool on_m_pButtonBrowseConfigFile_clicked();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
void addClient();
|
||||||
bool addComputer(const QString &clientName, bool doSilent);
|
bool addComputer(const QString &clientName, bool doSilent);
|
||||||
ServerConfig &serverConfig()
|
ServerConfig &serverConfig()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user