mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-24 22:30:42 -04:00
bugfix in MessageDialog, rs could crash when removing two or more messages at once
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3057 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
5264f46f9e
commit
08ea7232f7
2 changed files with 58 additions and 17 deletions
|
@ -123,6 +123,17 @@ private slots:
|
|||
#endif
|
||||
|
||||
private:
|
||||
class LockUpdate
|
||||
{
|
||||
public:
|
||||
LockUpdate (MessagesDialog *pDialog, bool bUpdate);
|
||||
~LockUpdate ();
|
||||
|
||||
private:
|
||||
MessagesDialog *m_pDialog;
|
||||
bool m_bUpdate;
|
||||
};
|
||||
|
||||
class QStandardItemModel *MessagesModel;
|
||||
QSortFilterProxyModel *proxyModel;
|
||||
|
||||
|
@ -147,6 +158,7 @@ private:
|
|||
#endif
|
||||
bool m_bProcessSettings;
|
||||
bool m_bInChange;
|
||||
int m_nLockUpdate; // use with LockUpdate
|
||||
|
||||
enum { LIST_NOTHING,
|
||||
LIST_BOX,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue