Removed unused function #4745

This commit is contained in:
Jerry (Xinyu Hou) 2015-07-16 12:19:58 -07:00
parent 5ec9ccc76e
commit 516c692c94
2 changed files with 0 additions and 18 deletions

View File

@ -398,7 +398,6 @@ void MainWindow::updateStateFromLogLine(const QString &line)
{
checkConnected(line);
checkFingerprint(line);
checkTransmission(line);
}
void MainWindow::checkConnected(const QString& line)
@ -465,22 +464,6 @@ void MainWindow::checkFingerprint(const QString& line)
}
}
void MainWindow::checkTransmission(const QString& line)
{
if (appConfig().logLevel() >= 2) {
if (line.contains("transmission")) {
if (line.contains("started")) {
setSynergyState(synergyTransfering);
}
else if (line.contains("failed") ||
line.contains("complete") ||
line.contains("interrupted")) {
setSynergyState(synergyConnected);
}
}
}
}
bool MainWindow::autoHide()
{
if ((appConfig().processMode() == Desktop) &&

View File

@ -172,7 +172,6 @@ class MainWindow : public QMainWindow, public Ui::MainWindowBase
QString getProfileRootForArg();
void checkConnected(const QString& line);
void checkFingerprint(const QString& line);
void checkTransmission(const QString& line);
bool autoHide();
QString getTimeStamp();