diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-05-15 11:08:18 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-05-15 18:14:20 +0000 |
commit | a1eb0aaeb3f8f5448fcd2678a1fc707fc15a1ca6 (patch) | |
tree | 680095c8cad7a8ecbc27806558f63837c72baac4 /ui/qt/export_dissection_dialog.cpp | |
parent | 3acebb469aaaa88c56b32fe90c9459e78125da1f (diff) | |
download | wireshark-a1eb0aaeb3f8f5448fcd2678a1fc707fc15a1ca6.tar.gz |
Qt: Make sure we can fetch ExportDissectionDialog's layout.
Make sure ExportDissectionDialog is a non-native, funny-looking file
dialog so that we can fetch its layout.
Fix and add some URLs while we're here.
Bug: 11122
Change-Id: Icf62f7a436c7ba27ec20f84e7c1af1a5d7c9b949
Reviewed-on: https://code.wireshark.org/review/8479
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/export_dissection_dialog.cpp')
-rw-r--r-- | ui/qt/export_dissection_dialog.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/qt/export_dissection_dialog.cpp b/ui/qt/export_dissection_dialog.cpp index c0a58501f1..80360fbec3 100644 --- a/ui/qt/export_dissection_dialog.cpp +++ b/ui/qt/export_dissection_dialog.cpp @@ -54,6 +54,9 @@ ExportDissectionDialog::ExportDissectionDialog(QWidget *parent, capture_file *ca { #if !defined(Q_OS_WIN) QDialogButtonBox *button_box = findChild<QDialogButtonBox *>(); + // Add extra widgets + // https://wiki.qt.io/Qt_project_org_faq#How_can_I_add_widgets_to_my_QFileDialog_instance.3F + setOption(QFileDialog::DontUseNativeDialog, true); QGridLayout *fd_grid = qobject_cast<QGridLayout*>(layout()); QHBoxLayout *h_box = new QHBoxLayout(); QStringList name_filters; |