perf scripts python: call-graph-from-sql.py: Remove use of setObjectName()
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 1 Oct 2018 06:28:42 +0000 (09:28 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 23 Oct 2018 17:23:41 +0000 (14:23 -0300)
The object name is never used, so don't bother setting it.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/20181001062853.28285-9-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/scripts/python/call-graph-from-sql.py

index 0a4dc13d4818a1e391060c302ba1bb6fc31b9d17..65c18e351bc408fa547b7a9050bb06d677a2999e 100644 (file)
@@ -269,7 +269,6 @@ class MainWindow(QMainWindow):
 
                self.glb = glb
 
-               self.setObjectName("MainWindow")
                self.setWindowTitle("Call Graph: " + glb.dbname)
                self.move(100, 100)
                self.resize(800, 600)