History

perf scripts python: call-graph-from-sql.py: Set a minimum window size

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>

Adrian Hunter committed 8 years ago

Commit 3c4ef451 parent 1d865c01 file · +1 −0Browse files

Showing the changes to tools/perf/scripts/python (1 of 1 file). Show all

Unified · Split

tools/perf/scripts/python/call-graph-from-sql.py+1−0
@@ -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