forked from osmocom/wireshark
Add minimize and maximize buttons to the TCP stream dialogs.
The first thing I generally do when I open a graph is to maximize it. Having a maximize button makes that a lot easier. Call QDialog(NULL, Qt::Window) similar to g80342e4. Call QDialog(NULL) in the about box. Change-Id: I4f229ab579d0912cb03ba8f8d0300d933d0ba914 Reviewed-on: https://code.wireshark.org/review/7072 Reviewed-by: Gerald Combs <gerald@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Gerald Combs <gerald@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
7e62a03830
commit
1810112f2d
|
@ -116,7 +116,7 @@ const QString AboutDialog::plugins_scan()
|
|||
}
|
||||
|
||||
AboutDialog::AboutDialog(QWidget *parent) :
|
||||
QDialog(parent),
|
||||
QDialog(NULL),
|
||||
ui(new Ui::AboutDialog)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
|
|
@ -81,7 +81,7 @@ const QString time_s_label_ = QObject::tr("Time (s)");
|
|||
const QString window_size_label_ = QObject::tr("Window Size (B)");
|
||||
|
||||
TCPStreamDialog::TCPStreamDialog(QWidget *parent, capture_file *cf, tcp_graph_type graph_type) :
|
||||
QDialog(parent),
|
||||
QDialog(NULL, Qt::Window),
|
||||
ui(new Ui::TCPStreamDialog),
|
||||
cap_file_(cf),
|
||||
ts_origin_conn_(true),
|
||||
|
|
Loading…
Reference in New Issue