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:
@@ -176,7 +176,7 @@ void ServerListModel::initialize()
|
||||
true,
|
||||
false,
|
||||
});
|
||||
beginResetModel();
|
||||
endResetModel();
|
||||
}
|
||||
|
||||
#include "moc_serverlistmodel.cpp"
|
||||
|
||||
Reference in New Issue
Block a user