Removed unused function #4745
This commit is contained in:
parent
5ec9ccc76e
commit
516c692c94
|
@ -398,7 +398,6 @@ void MainWindow::updateStateFromLogLine(const QString &line)
|
||||||
{
|
{
|
||||||
checkConnected(line);
|
checkConnected(line);
|
||||||
checkFingerprint(line);
|
checkFingerprint(line);
|
||||||
checkTransmission(line);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::checkConnected(const QString& 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()
|
bool MainWindow::autoHide()
|
||||||
{
|
{
|
||||||
if ((appConfig().processMode() == Desktop) &&
|
if ((appConfig().processMode() == Desktop) &&
|
||||||
|
|
|
@ -172,7 +172,6 @@ class MainWindow : public QMainWindow, public Ui::MainWindowBase
|
||||||
QString getProfileRootForArg();
|
QString getProfileRootForArg();
|
||||||
void checkConnected(const QString& line);
|
void checkConnected(const QString& line);
|
||||||
void checkFingerprint(const QString& line);
|
void checkFingerprint(const QString& line);
|
||||||
void checkTransmission(const QString& line);
|
|
||||||
bool autoHide();
|
bool autoHide();
|
||||||
QString getTimeStamp();
|
QString getTimeStamp();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue