aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/bluetooth_hci_summary_dialog.cpp
diff options
context:
space:
mode:
authorRoland Knall <rknall@gmail.com>2019-06-28 12:37:02 +0200
committerRoland Knall <rknall@gmail.com>2019-06-28 17:16:09 +0000
commit8e80415aaff15ea68a1aea106cbfc43347fa86af (patch)
tree6a5fe2e8461d69b18c3567c28cdeced43fb0f85e /ui/qt/bluetooth_hci_summary_dialog.cpp
parent41d0cf7320540f5d81d5837dca2ef40dd3eadf16 (diff)
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 <rknall@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'ui/qt/bluetooth_hci_summary_dialog.cpp')
-rw-r--r--ui/qt/bluetooth_hci_summary_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
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");
}