-
- Downloads
[OutgoingMsgViewer] Using smart pointers and changed table updating rule
The rows now are deleted from the table only if: 1. they are empty, that means they contain a nullptr 2. When the message list is full. The table item pointer is deleted automatically and the row is (and must be) deleted only after the item is deleted otherwise a memory bad access is triggered
Showing
- src/shared/Modules/OutgoingMessagesViewer/OutgoingMessagesViewerModule.cpp 15 additions, 9 deletions...s/OutgoingMessagesViewer/OutgoingMessagesViewerModule.cpp
- src/shared/Modules/OutgoingMessagesViewer/OutgoingMessagesViewerModule.h 7 additions, 5 deletions...les/OutgoingMessagesViewer/OutgoingMessagesViewerModule.h
Loading
Please register or sign in to comment