From 8e80415aaff15ea68a1aea106cbfc43347fa86af Mon Sep 17 00:00:00 2001 From: Roland Knall Date: Fri, 28 Jun 2019 12:37:02 +0200 Subject: Qt: Fix 5.13 deprecated warnings With Qt 5.13 some methods are deprecated. Fixing those warnings Change-Id: Ia290f06f2b681de1d5b437624de77d8a5c2f5266 Reviewed-on: https://code.wireshark.org/review/33761 Petri-Dish: Roland Knall Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall --- ui/qt/bluetooth_hci_summary_dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/qt/bluetooth_hci_summary_dialog.cpp') diff --git a/ui/qt/bluetooth_hci_summary_dialog.cpp b/ui/qt/bluetooth_hci_summary_dialog.cpp index 98ef25384b..59750c91b1 100644 --- a/ui/qt/bluetooth_hci_summary_dialog.cpp +++ b/ui/qt/bluetooth_hci_summary_dialog.cpp @@ -871,7 +871,7 @@ void BluetoothHciSummaryDialog::on_actionSave_as_image_triggered() if (fileName.isEmpty()) return; - image = QPixmap::grabWidget(ui->tableTreeWidget); + image = ui->tableTreeWidget->grab(); image.save(fileName, "PNG"); } -- cgit v1.2.3