From b5c91dffb3385106a93e7637f58c79a9033c29aa Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Wed, 7 Sep 2022 12:22:32 -0400 Subject: [PATCH] 2022-09-07 Fred Gleason * Fixed a regression in rdcatch(1) that could cause the wrong host to be used as the default location when creating a new event. Signed-off-by: Fred Gleason --- ChangeLog | 4 ++++ rdcatch/recordlistmodel.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 631cbcc2..f01ee6af 100644 --- a/ChangeLog +++ b/ChangeLog @@ -23264,3 +23264,7 @@ 2022-09-07 Fred Gleason * Fixed a regression in rdcatch(1) that broke operation of the head and tail audition buttons. +2022-09-07 Fred Gleason + * Fixed a regression in rdcatch(1) that could cause the wrong + host to be used as the default location when creating a new + event. diff --git a/rdcatch/recordlistmodel.cpp b/rdcatch/recordlistmodel.cpp index 29d6ee64..f93344ba 100644 --- a/rdcatch/recordlistmodel.cpp +++ b/rdcatch/recordlistmodel.cpp @@ -295,7 +295,7 @@ RDRecording::ExitCode RecordListModel::recordExitCode(const QModelIndex &row) QString RecordListModel::hostName(const QModelIndex &row) const { - return d_texts.at(row.row()).at(23).toString(); + return d_texts.at(row.row()).at(24).toString(); }