Prevent weirdly small window size. Committer testing: Seems to work, but even before this patch, on my system, it always started with: xwininfo: Window id: 0x1e00002 "Call Graph: pt_example" <SNIP> Width: 800 Height: 600 <SNIP>
Showing the changes to tools/perf/scripts/python (1 of 1 file). Show all
Unified · Split
| @@ -274,6 +274,7 @@ class MainWindow(QMainWindow): · 273 unmodified lines | |||
| 274 | style = self.style() | 274 | style = self.style() |
| 275 | icon = style.standardIcon(QStyle.SP_MessageBoxInformation) | 275 | icon = style.standardIcon(QStyle.SP_MessageBoxInformation) |
| 276 | self.setWindowIcon(icon); | 276 | self.setWindowIcon(icon); |
| 277 | self.setMinimumSize(200, 100) | ||
| 277 | 278 | ||
| 278 | self.model = TreeModel(db) | 279 | self.model = TreeModel(db) |
| 279 | 280 | ||