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
parent 469c822409
commit e4078d427a
Signed by untrusted user who does not match committer: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -1980,6 +1980,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)
@ -2020,6 +2021,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)
@ -2043,6 +2045,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)
@ -2057,6 +2060,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)