mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-10 16:29:27 -04:00
Fixed possible dereference of null pointer in NotifyPage.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8478 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
8cbbf61755
commit
6adeb52e93
1 changed files with 2 additions and 3 deletions
|
@ -347,10 +347,9 @@ void NotifyPage::load()
|
||||||
|
|
||||||
notifyToggled();
|
notifyToggled();
|
||||||
|
|
||||||
|
if (mChatLobbyUserNotify){
|
||||||
ui.chatLobbies_TextToNotify->setEnabled(mChatLobbyUserNotify->isCountSpecificText()) ;
|
ui.chatLobbies_TextToNotify->setEnabled(mChatLobbyUserNotify->isCountSpecificText()) ;
|
||||||
ui.chatLobbies_CountFollowingText->setChecked(mChatLobbyUserNotify->isCountSpecificText()) ;
|
ui.chatLobbies_CountFollowingText->setChecked(mChatLobbyUserNotify->isCountSpecificText()) ;
|
||||||
|
|
||||||
if (mChatLobbyUserNotify){
|
|
||||||
ui.chatLobbies_CountUnRead->setChecked(mChatLobbyUserNotify->isCountUnRead());
|
ui.chatLobbies_CountUnRead->setChecked(mChatLobbyUserNotify->isCountUnRead());
|
||||||
ui.chatLobbies_CheckNickName->setChecked(mChatLobbyUserNotify->isCheckForNickName());
|
ui.chatLobbies_CheckNickName->setChecked(mChatLobbyUserNotify->isCheckForNickName());
|
||||||
ui.chatLobbies_TextToNotify->setPlainText(mChatLobbyUserNotify->textToNotify());
|
ui.chatLobbies_TextToNotify->setPlainText(mChatLobbyUserNotify->textToNotify());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue