Remove unused method
This commit is contained in:
parent
ea430c0f38
commit
60295cf369
@ -243,12 +243,6 @@ class WorklogDialog(QtWidgets.QDialog):
|
|||||||
self.tableWidget.setMinimumWidth(min(desired_width, self.tableWidget.maximumWidth()))
|
self.tableWidget.setMinimumWidth(min(desired_width, self.tableWidget.maximumWidth()))
|
||||||
self.adjustSize()
|
self.adjustSize()
|
||||||
|
|
||||||
def center_dialog(self):
|
|
||||||
screen = QtGui.QGuiApplication.screenAt(self.pos())
|
|
||||||
x = ((screen.size().width() - self.tableWidget.width()) // 2) + screen.geometry().left()
|
|
||||||
y = ((screen.size().height() - self.height()) // 2) + screen.geometry().top()
|
|
||||||
self.move(x, y)
|
|
||||||
|
|
||||||
def update_status_view(self, row):
|
def update_status_view(self, row):
|
||||||
if self._statuses[row][0] is Status.PROGRESS:
|
if self._statuses[row][0] is Status.PROGRESS:
|
||||||
icon = ProgressIndicator(self)
|
icon = ProgressIndicator(self)
|
||||||
|
Loading…
Reference in New Issue
Block a user