diff options
author | Gerald Combs <gerald@zing.org> | 2015-02-12 19:03:50 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-02-13 03:07:32 +0000 |
commit | 80342e43e8e781d75161dab9730839a03cb97763 (patch) | |
tree | ef12af8f6f0980b3e1661a4c2a7b8868af90619f /ui/qt/wireshark_dialog.cpp | |
parent | a0498f177ae04bd6f570b5c48b8181ad38457d03 (diff) |
Qt: Make WiresharkDialog act like a window.
Set Qt::Window when we initialize QDialog. This should add a minimize
button to most of the dialogs that need one.
Change-Id: I8595dee9c6a28a4e0a8518213176ba10a6d8dcc6
Reviewed-on: https://code.wireshark.org/review/7093
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/wireshark_dialog.cpp')
-rw-r--r-- | ui/qt/wireshark_dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/wireshark_dialog.cpp b/ui/qt/wireshark_dialog.cpp index c4a7c66bf0..bc6c7e7534 100644 --- a/ui/qt/wireshark_dialog.cpp +++ b/ui/qt/wireshark_dialog.cpp @@ -40,7 +40,7 @@ WiresharkDialog::WiresharkDialog(QWidget &parent, CaptureFile &capture_file) : - QDialog(&parent), + QDialog(&parent, Qt::Window), cap_file_(capture_file), file_closed_(false) { |