History

perf scripts python: call-graph-from-sql.py: Change icon

There are not many standard icons, but the computer icon looks slightly better than the information icon. Committer testing: Noticed the change on the icon on the gnome menu right next to the "Activities" menu, looks nicer indeed.

Adrian Hunter committed 8 years ago

Commit 99a097c1 parent 3c4ef451 file · +1 −3Browse 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−3
@@ -271,9 +271,7 @@ class MainWindow(QMainWindow): · 270 unmodified lines
271271 self.setWindowTitle("Call Graph: " + dbname)
272272 self.move(100, 100)
273273 self.resize(800, 600)
274− style = self.style()
275− icon = style.standardIcon(QStyle.SP_MessageBoxInformation)
276− self.setWindowIcon(icon);
274+ self.setWindowIcon(self.style().standardIcon(QStyle.SP_ComputerIcon))
277275 self.setMinimumSize(200, 100)
278276
279277 self.model = TreeModel(db)