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
274274 style = self.style()
275275 icon = style.standardIcon(QStyle.SP_MessageBoxInformation)
276276 self.setWindowIcon(icon);
277+ self.setMinimumSize(200, 100)
277278
278279 self.model = TreeModel(db)
279280