Qt: Restore -z io,stat command line option
Restore the ability to open the I/O Graph window from Wireshark from the command line with "-z io,stat", which was removed in !7115. Fix #19042
This commit is contained in:
parent
1844904bc2
commit
277b7f6346
|
@ -469,6 +469,7 @@ private slots:
|
|||
void on_actionStatisticsConversations_triggered();
|
||||
void on_actionStatisticsEndpoints_triggered();
|
||||
void on_actionStatisticsPacketLengths_triggered();
|
||||
void statCommandIOGraph(const char *, void *);
|
||||
void on_actionStatisticsIOGraph_triggered();
|
||||
|
||||
void externalMenuItem_triggered();
|
||||
|
|
|
@ -3052,7 +3052,8 @@ void LograyMainWindow::on_actionStatisticsPacketLengths_triggered()
|
|||
openStatisticsTreeDialog("plen");
|
||||
}
|
||||
|
||||
void LograyMainWindow::on_actionStatisticsIOGraph_triggered()
|
||||
// -z io,stat
|
||||
void LograyMainWindow::statCommandIOGraph(const char *, void *)
|
||||
{
|
||||
const DisplayFilterEdit *df_edit = qobject_cast<DisplayFilterEdit *>(df_combo_box_->lineEdit());
|
||||
QString displayFilter;
|
||||
|
@ -3065,6 +3066,11 @@ void LograyMainWindow::on_actionStatisticsIOGraph_triggered()
|
|||
iog_dialog->show();
|
||||
}
|
||||
|
||||
void LograyMainWindow::on_actionStatisticsIOGraph_triggered()
|
||||
{
|
||||
statCommandIOGraph(NULL, NULL);
|
||||
}
|
||||
|
||||
// Tools Menu
|
||||
|
||||
// XXX No log tools yet
|
||||
|
|
|
@ -539,6 +539,7 @@ private slots:
|
|||
void on_actionStatisticsHTTPLoadDistribution_triggered();
|
||||
void on_actionStatisticsHTTPRequestSequences_triggered();
|
||||
void on_actionStatisticsPacketLengths_triggered();
|
||||
void statCommandIOGraph(const char *, void *);
|
||||
void on_actionStatisticsIOGraph_triggered();
|
||||
void on_actionStatisticsSametime_triggered();
|
||||
void on_actionStatisticsDNS_triggered();
|
||||
|
|
|
@ -3516,7 +3516,8 @@ void WiresharkMainWindow::on_actionStatisticsPacketLengths_triggered()
|
|||
openStatisticsTreeDialog("plen");
|
||||
}
|
||||
|
||||
void WiresharkMainWindow::on_actionStatisticsIOGraph_triggered()
|
||||
// -z io,stat
|
||||
void WiresharkMainWindow::statCommandIOGraph(const char *, void *)
|
||||
{
|
||||
const DisplayFilterEdit *df_edit = qobject_cast<DisplayFilterEdit *>(df_combo_box_->lineEdit());
|
||||
QString displayFilter;
|
||||
|
@ -3529,6 +3530,11 @@ void WiresharkMainWindow::on_actionStatisticsIOGraph_triggered()
|
|||
iog_dialog->show();
|
||||
}
|
||||
|
||||
void WiresharkMainWindow::on_actionStatisticsIOGraph_triggered()
|
||||
{
|
||||
statCommandIOGraph(NULL, NULL);
|
||||
}
|
||||
|
||||
void WiresharkMainWindow::on_actionStatisticsSametime_triggered()
|
||||
{
|
||||
openStatisticsTreeDialog("sametime");
|
||||
|
|
Loading…
Reference in New Issue