aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt')
-rw-r--r--ui/qt/main_window_slots.cpp2
-rw-r--r--ui/qt/packet_list.cpp2
-rw-r--r--ui/qt/wireshark_application.cpp1
3 files changed, 2 insertions, 3 deletions
diff --git a/ui/qt/main_window_slots.cpp b/ui/qt/main_window_slots.cpp
index b23d22c408..ceb1873ca6 100644
--- a/ui/qt/main_window_slots.cpp
+++ b/ui/qt/main_window_slots.cpp
@@ -2554,7 +2554,7 @@ void MainWindow::on_actionViewNormalSize_triggered()
void MainWindow::on_actionViewColorizePacketList_triggered(bool checked) {
recent.packet_list_colorize = checked;
- packet_list_enable_color(checked);
+ packet_list_recolor_packets();
packet_list_->packetListModel()->resetColorized();
}
diff --git a/ui/qt/packet_list.cpp b/ui/qt/packet_list.cpp
index a1d1a9857d..f77215d248 100644
--- a/ui/qt/packet_list.cpp
+++ b/ui/qt/packet_list.cpp
@@ -149,7 +149,7 @@ packet_list_clear(void)
}
void
-packet_list_enable_color(gboolean)
+packet_list_recolor_packets(void)
{
if (gbl_cur_packet_list) {
gbl_cur_packet_list->recolorPackets();
diff --git a/ui/qt/wireshark_application.cpp b/ui/qt/wireshark_application.cpp
index ad30ed10f8..cf76419736 100644
--- a/ui/qt/wireshark_application.cpp
+++ b/ui/qt/wireshark_application.cpp
@@ -423,7 +423,6 @@ void WiresharkApplication::setConfigurationProfile(const gchar *profile_name, bo
timestamp_set_type(recent.gui_time_format);
timestamp_set_precision(recent.gui_time_precision);
timestamp_set_seconds_type (recent.gui_seconds_format);
- packet_list_enable_color(recent.packet_list_colorize);
tap_update_timer_.setInterval(prefs.tap_update_interval);
prefs_to_capture_opts();