chore: remove unused MainWindow::autoAddScreen
This commit is contained in:
parent
2d7174c3b2
commit
a82e9a4a74
2 changed files with 0 additions and 13 deletions
|
|
@ -1026,18 +1026,6 @@ void MainWindow::updateLocalFingerprint()
|
||||||
m_btnFingerprint->setVisible(tlsEnabled && QFile::exists(Settings::tlsLocalDb()));
|
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()
|
void MainWindow::hide()
|
||||||
{
|
{
|
||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
|
|
|
||||||
|
|
@ -85,7 +85,6 @@ public:
|
||||||
{
|
{
|
||||||
return m_serverConfig;
|
return m_serverConfig;
|
||||||
}
|
}
|
||||||
void autoAddScreen(const QString &name);
|
|
||||||
|
|
||||||
void hide();
|
void hide();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue