aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-01-08 14:43:41 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2014-01-08 14:43:41 +0000
commit7cbbf32324e73d675a690d22592578e7d7bc5069 (patch)
tree0a8942bb171bfdf7881ef0e192434f561eaf47b9 /ui
parentd18311376afaca098d0d083aa076cf6895b72f45 (diff)
Don't create About window when Wireshark Qt start
svn path=/trunk/; revision=54662
Diffstat (limited to 'ui')
-rw-r--r--ui/qt/main_window.h1
-rw-r--r--ui/qt/main_window_slots.cpp12
2 files changed, 6 insertions, 7 deletions
diff --git a/ui/qt/main_window.h b/ui/qt/main_window.h
index 32e10274d5..aff2f88d9b 100644
--- a/ui/qt/main_window.h
+++ b/ui/qt/main_window.h
@@ -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_;
diff --git a/ui/qt/main_window_slots.cpp b/ui/qt/main_window_slots.cpp
index 1066a68857..1f4f8646ab 100644
--- a/ui/qt/main_window_slots.cpp
+++ b/ui/qt/main_window_slots.cpp
@@ -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() {