Replace duplicate beginResetModel with endResetModel

The initialize method was calling beginResetModel twice without
a corresponding endResetModel call. This could cause model state
inconsistencies.


(cherry picked from commit 4e0b295f66)

Co-authored-by: Wang Yu <wangyu@uniontech.com>
This commit is contained in:
Joshua Goins
2025-07-30 21:13:01 -04:00
parent f620221113
commit 74b3e703c1

View File

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