Disable increment size hints
Window size is fixed (calculated based on VMs count etc) so it isn't useful. Without correctly calculated base size hint it can cause wrong manager window size. It actually happens on fc20 in dom0.
This commit is contained in:
parent
a09f558b4b
commit
a84ebe56e8
@ -295,9 +295,6 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow):
|
|||||||
self.connect(self.table, SIGNAL("itemSelectionChanged()"), self.table_selection_changed)
|
self.connect(self.table, SIGNAL("itemSelectionChanged()"), self.table_selection_changed)
|
||||||
|
|
||||||
self.table.setColumnWidth(0, self.column_width)
|
self.table.setColumnWidth(0, self.column_width)
|
||||||
self.setSizeIncrement(QtCore.QSize(200, 30))
|
|
||||||
self.centralwidget.setSizeIncrement(QtCore.QSize(200, 30))
|
|
||||||
self.table.setSizeIncrement(QtCore.QSize(200, 30))
|
|
||||||
|
|
||||||
self.sort_by_column = "Type"
|
self.sort_by_column = "Type"
|
||||||
self.sort_order = Qt.AscendingOrder
|
self.sort_order = Qt.AscendingOrder
|
||||||
|
Loading…
Reference in New Issue
Block a user