summary refs log tree commit diff
path: root/include/RoomList.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-10-07 20:09:34 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-10-07 20:51:35 +0300
commitbc4b47a5e30386df46f5d4d51a5be33b6a9d4c2f (patch)
tree42bd697afd1b4ce3d7b88bfefe11aa71dbdafae7 /include/RoomList.h
parentUpdate from Weblate. (#38) (diff)
downloadnheko-bc4b47a5e30386df46f5d4d51a5be33b6a9d4c2f.tar.xz
Use shared pointer for the modals
Diffstat (limited to 'include/RoomList.h')
-rw-r--r--include/RoomList.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/RoomList.h b/include/RoomList.h

index c2f4255d..d7b201f1 100644 --- a/include/RoomList.h +++ b/include/RoomList.h
@@ -76,8 +76,8 @@ private: OverlayModal *joinRoomModal_; JoinRoomDialog *joinRoomDialog_; - OverlayModal *leaveRoomModal; - LeaveRoomDialog *leaveRoomDialog_; + QSharedPointer<OverlayModal> leaveRoomModal_; + QSharedPointer<LeaveRoomDialog> leaveRoomDialog_; QMap<QString, QSharedPointer<RoomInfoListItem>> rooms_;