Ui: Remove call to recoloring
No callback needed, we can call the model directly
This commit is contained in:
parent
865141e61b
commit
1d42fcdd76
|
@ -2467,8 +2467,7 @@ void LogwolfMainWindow::on_actionViewNormalSize_triggered()
|
|||
|
||||
void LogwolfMainWindow::on_actionViewColorizePacketList_triggered(bool checked) {
|
||||
recent.packet_list_colorize = checked;
|
||||
packet_list_recolor_packets();
|
||||
packet_list_->resetColorized();
|
||||
packet_list_->recolorPackets();
|
||||
}
|
||||
|
||||
void LogwolfMainWindow::on_actionViewColoringRules_triggered()
|
||||
|
|
|
@ -154,14 +154,6 @@ packet_list_clear(void)
|
|||
}
|
||||
}
|
||||
|
||||
void
|
||||
packet_list_recolor_packets(void)
|
||||
{
|
||||
if (gbl_cur_packet_list) {
|
||||
gbl_cur_packet_list->recolorPackets();
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
packet_list_freeze(void)
|
||||
{
|
||||
|
|
|
@ -2638,8 +2638,7 @@ void WiresharkMainWindow::on_actionViewNormalSize_triggered()
|
|||
|
||||
void WiresharkMainWindow::on_actionViewColorizePacketList_triggered(bool checked) {
|
||||
recent.packet_list_colorize = checked;
|
||||
packet_list_recolor_packets();
|
||||
packet_list_->resetColorized();
|
||||
packet_list_->recolorPackets();
|
||||
}
|
||||
|
||||
void WiresharkMainWindow::on_actionViewColoringRules_triggered()
|
||||
|
|
|
@ -60,7 +60,6 @@ void packet_list_recreate_visible_rows(void);
|
|||
void packet_list_thaw(void);
|
||||
guint packet_list_append(column_info *cinfo, frame_data *fdata);
|
||||
frame_data *packet_list_get_row_data(gint row);
|
||||
void packet_list_recolor_packets(void);
|
||||
void packet_list_queue_draw(void);
|
||||
void packet_list_select_first_row(void);
|
||||
void packet_list_moveto_end(void);
|
||||
|
|
Loading…
Reference in New Issue