forked from osmocom/wireshark
Don't create About window when Wireshark Qt start
svn path=/trunk/; revision=54662
This commit is contained in:
parent
d18311376a
commit
7cbbf32324
|
@ -115,7 +115,6 @@ private:
|
|||
SummaryDialog summary_dialog_;
|
||||
ByteViewTab *byte_view_tab_;
|
||||
QWidget empty_pane_;
|
||||
AboutDialog about_dialog_;
|
||||
|
||||
bool capture_stopping_;
|
||||
bool capture_filter_valid_;
|
||||
|
|
|
@ -2034,19 +2034,19 @@ void MainWindow::on_actionHelpCheckForUpdates_triggered()
|
|||
|
||||
void MainWindow::on_actionHelpAbout_triggered()
|
||||
{
|
||||
//about_dialog_.UpdateValues();
|
||||
AboutDialog *about_dialog = new AboutDialog(this);;
|
||||
|
||||
if (about_dialog_.isMinimized() == true)
|
||||
if (about_dialog->isMinimized() == true)
|
||||
{
|
||||
about_dialog_.showNormal();
|
||||
about_dialog->showNormal();
|
||||
}
|
||||
else
|
||||
{
|
||||
about_dialog_.show();
|
||||
about_dialog->show();
|
||||
}
|
||||
|
||||
about_dialog_.raise();
|
||||
about_dialog_.activateWindow();
|
||||
about_dialog->raise();
|
||||
about_dialog->activateWindow();
|
||||
}
|
||||
|
||||
void MainWindow::on_actionGoGoToPacket_triggered() {
|
||||
|
|
Loading…
Reference in New Issue