aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/wireshark_application.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-10-01 22:40:20 +0000
committerGerald Combs <gerald@wireshark.org>2012-10-01 22:40:20 +0000
commitd02a2328ef84089af3c419584907ed561d692fbb (patch)
tree3f56adbaa31da2a4c74f1dea765a3d9c3a25d985 /ui/qt/wireshark_application.cpp
parent34e3d6d1f38c8d9a7332d1a600397dc111947539 (diff)
Implement file sets.
Replace the original file set code with a UI form. Use more consistent file names. List the files using a QTreeWidget instead of a grid. fileset_is_file_in_set is only used in fileset.c so make it static. In main_window.cpp reduce our usage of the global cfile variable. svn path=/trunk/; revision=45243
Diffstat (limited to 'ui/qt/wireshark_application.cpp')
-rw-r--r--ui/qt/wireshark_application.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/qt/wireshark_application.cpp b/ui/qt/wireshark_application.cpp
index 583da79d6c..a1de3a71a7 100644
--- a/ui/qt/wireshark_application.cpp
+++ b/ui/qt/wireshark_application.cpp
@@ -211,6 +211,10 @@ void WiresharkApplication::captureFileCallback(int event, void * data)
switch(event) {
+ case(cf_cb_file_opened):
+ g_log(LOG_DOMAIN_MAIN, G_LOG_LEVEL_DEBUG, "Callback: Opened");
+ emit captureFileOpened(cf);
+ break;
case(cf_cb_file_closing):
g_log(LOG_DOMAIN_MAIN, G_LOG_LEVEL_DEBUG, "Callback: Closing");
emit captureFileClosing(cf);