Show notification only on Debug level or above #4745
This commit is contained in:
parent
ebb7edfb0f
commit
f3472c84e2
|
@ -467,6 +467,7 @@ void MainWindow::checkFingerprint(const QString& line)
|
||||||
|
|
||||||
void MainWindow::checkTransmission(const QString& line)
|
void MainWindow::checkTransmission(const QString& line)
|
||||||
{
|
{
|
||||||
|
if (appConfig().logLevel() >= 2) {
|
||||||
if (line.contains("Transmission")) {
|
if (line.contains("Transmission")) {
|
||||||
if (line.contains("Started")) {
|
if (line.contains("Started")) {
|
||||||
setSynergyState(synergyTransfering);
|
setSynergyState(synergyTransfering);
|
||||||
|
@ -489,6 +490,7 @@ void MainWindow::checkTransmission(const QString& line)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
bool MainWindow::autoHide()
|
bool MainWindow::autoHide()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue