diff --git a/scwx-qt/source/scwx/qt/manager/placefile_manager.cpp b/scwx-qt/source/scwx/qt/manager/placefile_manager.cpp index 2521d03f..c32831c6 100644 --- a/scwx-qt/source/scwx/qt/manager/placefile_manager.cpp +++ b/scwx-qt/source/scwx/qt/manager/placefile_manager.cpp @@ -77,8 +77,8 @@ public: bool thresholded = false) : p {impl}, name_ {name}, - placefile_ {placefile}, title_ {title}, + placefile_ {placefile}, enabled_ {enabled}, thresholded_ {thresholded} { diff --git a/scwx-qt/source/scwx/qt/model/placefile_model.cpp b/scwx-qt/source/scwx/qt/model/placefile_model.cpp index 21478936..d1d25a4c 100644 --- a/scwx-qt/source/scwx/qt/model/placefile_model.cpp +++ b/scwx-qt/source/scwx/qt/model/placefile_model.cpp @@ -302,9 +302,7 @@ void PlacefileModel::HandlePlacefileRemoved(const std::string& name) if (it != p->placefileNames_.end()) { // Placefile exists, delete row - const int row = std::distance(p->placefileNames_.begin(), it); - QModelIndex topLeft = createIndex(row, kFirstColumn); - QModelIndex bottomRight = createIndex(row, kLastColumn); + const int row = std::distance(p->placefileNames_.begin(), it); beginRemoveRows(QModelIndex(), row, row); p->placefileNames_.erase(it);