Disable label rerendering in messagelist

It's broken and just consumes resources. I'll fix it separately.
This commit is contained in:
mailchuck 2015-12-20 21:31:30 +01:00 committed by Peter Surda
parent e650cff42d
commit 4647fcb876

View File

@ -1979,6 +1979,7 @@ class MyForm(settingsmixin.SMainWindow):
os._exit(0)
def rerenderInboxFromLabels(self):
return
for i in range(self.ui.tableWidgetInbox.rowCount()):
addressToLookup = self.ui.tableWidgetInbox.item(
i, 1).data(Qt.UserRole)
@ -2019,6 +2020,7 @@ class MyForm(settingsmixin.SMainWindow):
def rerenderInboxToLabels(self):
return
for i in range(self.ui.tableWidgetInbox.rowCount()):
toAddress = self.ui.tableWidgetInbox.item(
i, 0).data(Qt.UserRole)
@ -2042,6 +2044,7 @@ class MyForm(settingsmixin.SMainWindow):
i, 0).setTextColor(QApplication.palette().text().color())
def rerenderSentFromLabels(self):
return
for i in range(self.ui.tableWidgetInbox.rowCount()):
fromAddress = self.ui.tableWidgetInbox.item(
i, 1).data(Qt.UserRole)
@ -2056,6 +2059,7 @@ class MyForm(settingsmixin.SMainWindow):
i, 1).setIcon(avatarize(fromAddress))
def rerenderSentToLabels(self):
return
for i in range(self.ui.tableWidgetInbox.rowCount()):
addressToLookup = self.ui.tableWidgetInbox.item(
i, 0).data(Qt.UserRole)