diff options
Diffstat (limited to 'Swift/QtUI/ChatList/ChatListItem.h')
-rw-r--r-- | Swift/QtUI/ChatList/ChatListItem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/QtUI/ChatList/ChatListItem.h b/Swift/QtUI/ChatList/ChatListItem.h index 57a85da..e7be614 100644 --- a/Swift/QtUI/ChatList/ChatListItem.h +++ b/Swift/QtUI/ChatList/ChatListItem.h @@ -7,6 +7,7 @@ #pragma once #include <QVariant> +#include <qdebug.h> namespace Swift { class ChatListGroupItem; @@ -16,7 +17,7 @@ namespace Swift { virtual ~ChatListItem() {} ChatListGroupItem* parent() {return parent_;}; - virtual QVariant data(int role) = 0; + virtual QVariant data(int role) const = 0; private: ChatListGroupItem* parent_; |