chore: remove unused MainWindow::autoAddScreen

This commit is contained in:
sithlord48
2025-10-27 18:40:45 -04:00
committed by Nick Bolton
parent 2d7174c3b2
commit a82e9a4a74
2 changed files with 0 additions and 13 deletions

View File

@ -1026,18 +1026,6 @@ void MainWindow::updateLocalFingerprint()
m_btnFingerprint->setVisible(tlsEnabled && QFile::exists(Settings::tlsLocalDb()));
}
void MainWindow::autoAddScreen(const QString &name)
{
if (name.isEmpty())
return;
if (m_serverConfig.autoAddScreen(name) == ScreenAddResults::AutoAddScreenManualClient) {
showConfigureServer(
tr("Please add the client (%1) to the grid.").arg(Settings::value(Settings::Core::ScreenName).toString())
);
}
}
void MainWindow::hide()
{
#ifdef Q_OS_MAC

View File

@ -85,7 +85,6 @@ public:
{
return m_serverConfig;
}
void autoAddScreen(const QString &name);
void hide();