summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJekyll Wu <adaptee@gmail.com>2012-02-15 19:35:31 (GMT)
committerJekyll Wu <adaptee@gmail.com>2012-02-15 19:35:31 (GMT)
commit2cf9715edd9fb1e38afb42daca4aa7686ccccd43 (patch)
tree2fc34316bae3ac929b8c31fb2fec5471be372726
parent7d56686c0c6410361d8cc05b3045d66463102c95 (diff)
Revert "Take snapshot of session state periodically in the background"v4.8.1
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 7d56686c0c6410361d8cc05b3045d66463102c95.
-rw-r--r--src/SessionController.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/SessionController.cpp b/src/SessionController.cpp
index e0cce53..0be41a0 100644
--- a/src/SessionController.cpp
+++ b/src/SessionController.cpp
@@ -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);
}