Commit 2cf9715e authored by Jekyll Wu's avatar Jekyll Wu

Revert "Take snapshot of session state periodically in the background"

That commit causes some side effects related with monitoring
activivy/silence. Better not to include it in a minor release

CCBUG: 271275

This reverts commit 7d56686c.
parent 7d56686c
......@@ -163,13 +163,6 @@ SessionController::SessionController(Session* session , TerminalDisplay* view, Q
connect( _view , SIGNAL(keyPressedSignal(QKeyEvent*)) , activityTimer , SLOT(start()) );
connect( activityTimer , SIGNAL(timeout()) , this , SLOT(snapshot()) );
// take a snapshot of the session state periodically in the background
QTimer* backgroundTimer = new QTimer(_session);
backgroundTimer->setSingleShot(false);
backgroundTimer->setInterval(2000);
connect(backgroundTimer, SIGNAL(timeout()), this, SLOT(snapshot()));
backgroundTimer->start();
_allControllers.insert(this);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment