Fix the 2 bugs caused by note->close()[cause invalid pointer in m_notes] and null note->objectName(). But the reason is unclear.
Fix the 2 bugs caused by note->close()[cause invalid pointer in m_notes] and null note->objectName(). But the reason is unclear.

svn path=/trunk/KDE/kdepim/knotes/; revision=638482

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi