diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2018-10-01 02:28:38 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-10-23 13:21:43 -0400 |
commit | 99a097c987c26c8c82293fcb92908d07009c925e (patch) | |
tree | 72aa3c5bef98b51302d57bb8a95ceaf5d76af0e8 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 3c4ef451506897a15aff76ff141c995c6cd32f4d (diff) |
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.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/20181001062853.28285-5-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
-rw-r--r-- | tools/perf/scripts/python/call-graph-from-sql.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/perf/scripts/python/call-graph-from-sql.py b/tools/perf/scripts/python/call-graph-from-sql.py index 68153fa1b4d1..2e33540f3de0 100644 --- a/tools/perf/scripts/python/call-graph-from-sql.py +++ b/tools/perf/scripts/python/call-graph-from-sql.py | |||
@@ -271,9 +271,7 @@ class MainWindow(QMainWindow): | |||
271 | self.setWindowTitle("Call Graph: " + dbname) | 271 | self.setWindowTitle("Call Graph: " + dbname) |
272 | self.move(100, 100) | 272 | self.move(100, 100) |
273 | self.resize(800, 600) | 273 | self.resize(800, 600) |
274 | style = self.style() | 274 | self.setWindowIcon(self.style().standardIcon(QStyle.SP_ComputerIcon)) |
275 | icon = style.standardIcon(QStyle.SP_MessageBoxInformation) | ||
276 | self.setWindowIcon(icon); | ||
277 | self.setMinimumSize(200, 100) | 275 | self.setMinimumSize(200, 100) |
278 | 276 | ||
279 | self.model = TreeModel(db) | 277 | self.model = TreeModel(db) |