Replace duplicate beginResetModel with endResetModel

The initialize method was calling beginResetModel twice without
a corresponding endResetModel call. This could cause model state
inconsistencies.
This commit is contained in:
Wang Yu
2025-07-30 16:31:56 +08:00
parent 8cbd3f5e0f
commit 4e0b295f66

View File

@@ -176,7 +176,7 @@ void ServerListModel::initialize()
true,
false,
});
beginResetModel();
endResetModel();
}
#include "moc_serverlistmodel.cpp"