commit 6e26fb0198f9ddddfe993ea47526445f60951601
parent c5c1ed11f0a589b1cd3703c2cd12e994d14ac81a
Author: ThomasV <thomasv@gitorious>
Date: Fri, 28 Mar 2014 17:06:58 +0100
remove redundant definition of Timer class
Diffstat:
2 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/gui/qt/__init__.py b/gui/qt/__init__.py
@@ -46,11 +46,6 @@ from util import *
from main_window import ElectrumWindow
from electrum.plugins import init_plugins
-class Timer(QtCore.QThread):
- def run(self):
- while True:
- self.emit(QtCore.SIGNAL('timersignal'))
- time.sleep(0.5)
class OpenFileEventFilter(QObject):
def __init__(self, windows):
diff --git a/gui/qt/lite_window.py b/gui/qt/lite_window.py
@@ -45,11 +45,6 @@ def IconButton(filename, parent=None):
icon = QIcon(pixmap)
return QPushButton(icon, "", parent)
-class Timer(QThread):
- def run(self):
- while True:
- self.emit(SIGNAL('timersignal'))
- time.sleep(0.5)
def resize_line_edit_width(line_edit, text_input):
metrics = QFontMetrics(qApp.font())