forked from luck/tmp_suning_uos_patched
07f7694169
commit a6172059758ba1b496ae024cece7d5bdc8d017db upstream.
Provide missing argument to prevent following error when copying a
selection to the clipboard:
Traceback (most recent call last):
File "tools/perf/scripts/python/exported-sql-viewer.py", line 4041, in <lambda>
menu.addAction(CreateAction("&Copy selection", "Copy to clipboard", lambda: CopyCellsToClipboardHdr(self.view), self.view))
File "tools/perf/scripts/python/exported-sql-viewer.py", line 4021, in CopyCellsToClipboardHdr
CopyCellsToClipboard(view, False, True)
File "tools/perf/scripts/python/exported-sql-viewer.py", line 4018, in CopyCellsToClipboard
view.CopyCellsToClipboard(view, as_csv, with_hdr)
File "tools/perf/scripts/python/exported-sql-viewer.py", line 3871, in CopyTableCellsToClipboard
val = model.headerData(col, Qt.Horizontal)
TypeError: headerData() missing 1 required positional argument: 'role'
Fixes:
|
||
---|---|---|
.. | ||
bin | ||
Perf-Trace-Util | ||
check-perf-trace.py | ||
compaction-times.py | ||
event_analyzing_sample.py | ||
export-to-postgresql.py | ||
export-to-sqlite.py | ||
exported-sql-viewer.py | ||
failed-syscalls-by-pid.py | ||
flamegraph.py | ||
futex-contention.py | ||
intel-pt-events.py | ||
mem-phys-addr.py | ||
net_dropmonitor.py | ||
netdev-times.py | ||
powerpc-hcalls.py | ||
sched-migration.py | ||
sctop.py | ||
stackcollapse.py | ||
stat-cpi.py | ||
syscall-counts-by-pid.py | ||
syscall-counts.py |