aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRael <rael.gc@gmail.com>2015-10-14 21:38:18 -0300
committerRael <rael.gc@gmail.com>2015-10-14 21:38:18 -0300
commite3c04362d3dc012000dfa3ddf2d4a006061c0c15 (patch)
tree4f6014ada7561a3c3dad20ca1cc12f4c2b948cc8
parent09826ef6e9fcb164c36c3195e748b88c71882021 (diff)
downloadscudcloud-e3c04362d3dc012000dfa3ddf2d4a006061c0c15.zip
scudcloud-e3c04362d3dc012000dfa3ddf2d4a006061c0c15.tar.gz
scudcloud-e3c04362d3dc012000dfa3ddf2d4a006061c0c15.tar.bz2
Removing timer
-rw-r--r--scudcloud-1.0/lib/wrapper.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/scudcloud-1.0/lib/wrapper.py b/scudcloud-1.0/lib/wrapper.py
index e91d8e7..318ceb5 100644
--- a/scudcloud-1.0/lib/wrapper.py
+++ b/scudcloud-1.0/lib/wrapper.py
@@ -25,15 +25,6 @@ class Wrapper(QWebView):
self.connect(self, SIGNAL("loadFinished(bool)"), self.loadFinished)
self.connect(self, SIGNAL("linkClicked(const QUrl&)"), self.linkClicked)
self.addActions()
- self.setupTimer()
-
- # Starting a timer that will check by server side reloads (which drops ScudCloud JS)
- def setupTimer(self):
- timer = QTimer(self)
- timer.timeout.connect(self.loadFinished)
- # Hope each 10 minutes will not be produce high CPU usage
- timer.setInterval(600000)
- timer.start()
def configure_proxy(self):
proxy = urlparse(os.environ.get('http_proxy') or os.environ.get('HTTP_PROXY'))