remove redundant definition of Timer class
This commit is contained in:
@@ -46,11 +46,6 @@ from util import *
|
|||||||
from main_window import ElectrumWindow
|
from main_window import ElectrumWindow
|
||||||
from electrum.plugins import init_plugins
|
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):
|
class OpenFileEventFilter(QObject):
|
||||||
def __init__(self, windows):
|
def __init__(self, windows):
|
||||||
|
|||||||
@@ -45,11 +45,6 @@ def IconButton(filename, parent=None):
|
|||||||
icon = QIcon(pixmap)
|
icon = QIcon(pixmap)
|
||||||
return QPushButton(icon, "", parent)
|
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):
|
def resize_line_edit_width(line_edit, text_input):
|
||||||
metrics = QFontMetrics(qApp.font())
|
metrics = QFontMetrics(qApp.font())
|
||||||
|
|||||||
Reference in New Issue
Block a user