aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/models/interface_tree_cache_model.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/models/interface_tree_cache_model.cpp')
-rw-r--r--ui/qt/models/interface_tree_cache_model.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/qt/models/interface_tree_cache_model.cpp b/ui/qt/models/interface_tree_cache_model.cpp
index 40722aabf6..1a20753be3 100644
--- a/ui/qt/models/interface_tree_cache_model.cpp
+++ b/ui/qt/models/interface_tree_cache_model.cpp
@@ -21,7 +21,7 @@
#include "wiretap/wtap.h"
-#include "wireshark_application.h"
+#include "main_application.h"
#include <QIdentityProxyModel>
@@ -279,7 +279,7 @@ void InterfaceTreeCacheModel::save()
++it;
}
- wsApp->emitAppSignal(WiresharkApplication::LocalInterfacesChanged);
+ mainApp->emitAppSignal(MainApplication::LocalInterfacesChanged);
}
#endif
@@ -580,7 +580,7 @@ void InterfaceTreeCacheModel::deleteDevice(const QModelIndex &index)
capture_opts_free_interface_t(device);
global_capture_opts.all_ifaces = g_array_remove_index(global_capture_opts.all_ifaces, row);
emit endRemoveRows();
- wsApp->emitAppSignal(WiresharkApplication::LocalInterfacesChanged);
+ mainApp->emitAppSignal(MainApplication::LocalInterfacesChanged);
}
}
#endif