diff options
author | Gerald Combs <gerald@wireshark.org> | 2013-08-31 16:16:36 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2013-08-31 16:16:36 +0000 |
commit | 35e20fba4bbb8cc1a596a513e28a6d467ce3ef2d (patch) | |
tree | c4fc43d6f0d97ecc1df61742fb77b1521d970a3b /ui/qt/main_welcome.cpp | |
parent | 44c91cb02a00328caadb3b3c5e11f15ec7277086 (diff) |
Try to set a sensible capture filter at startup.
svn path=/trunk/; revision=51618
Diffstat (limited to 'ui/qt/main_welcome.cpp')
-rw-r--r-- | ui/qt/main_welcome.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/qt/main_welcome.cpp b/ui/qt/main_welcome.cpp index 60ae7d4191..0a58774420 100644 --- a/ui/qt/main_welcome.cpp +++ b/ui/qt/main_welcome.cpp @@ -31,6 +31,8 @@ #include "main_welcome.h" #include "ui_main_welcome.h" + +#include "ui/util.h" #include "tango_colors.h" #include "wireshark_application.h" @@ -135,6 +137,8 @@ MainWelcome::MainWelcome(QWidget *parent) : ); recent_files_->setTextElideMode(Qt::ElideLeft); + welcome_ui_->captureFilterComboBox->lineEdit()->setText(get_conn_cfilter()); + connect(wsApp, SIGNAL(updateRecentItemStatus(const QString &, qint64, bool)), this, SLOT(updateRecentFiles())); connect(wsApp, SIGNAL(appInitialized()), this, SLOT(destroySplashOverlay())); connect(task_list_, SIGNAL(itemSelectionChanged()), this, SLOT(showTask())); |