SYNERGY-1017 - Resolve code smell

This commit is contained in:
Igor Sikachyna 2021-06-07 11:51:31 +03:00
parent f2e42efe41
commit eef8413b0b
2 changed files with 2 additions and 2 deletions

View file

@ -328,7 +328,7 @@ void MainWindow::saveSettings()
GUI::Config::ConfigWriter::make()->globalSave(); GUI::Config::ConfigWriter::make()->globalSave();
} }
void MainWindow::checkSystemInterruptions() void MainWindow::checkSystemInterruptions() const
{ {
if(synergyType() == synergyServer) if(synergyType() == synergyServer)
{ {

View file

@ -164,7 +164,7 @@ public slots:
void logError(); void logError();
void updateFound(const QString& version); void updateFound(const QString& version);
void saveSettings(); void saveSettings();
void checkSystemInterruptions(); void checkSystemInterruptions() const;
/// @brief Receives the signal that the auto config option has changed /// @brief Receives the signal that the auto config option has changed
void zeroConfToggled(); void zeroConfToggled();