diff options
Diffstat (limited to 'Swift/QtUI/QtChatWindow.cpp')
| -rw-r--r-- | Swift/QtUI/QtChatWindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/QtUI/QtChatWindow.cpp b/Swift/QtUI/QtChatWindow.cpp index a413b4d..82c65ce 100644 --- a/Swift/QtUI/QtChatWindow.cpp +++ b/Swift/QtUI/QtChatWindow.cpp | |||
| @@ -505,7 +505,7 @@ void QtChatWindow::showEvent(QShowEvent* event) { | |||
| 505 | QWidget::showEvent(event); | 505 | QWidget::showEvent(event); |
| 506 | } | 506 | } |
| 507 | 507 | ||
| 508 | void QtChatWindow::setUnreadMessageCount(int count) { | 508 | void QtChatWindow::setUnreadMessageCount(size_t count) { |
| 509 | if (unreadCount_ != count) { | 509 | if (unreadCount_ != count) { |
| 510 | unreadCount_ = count; | 510 | unreadCount_ = count; |
| 511 | updateTitleWithUnreadCount(); | 511 | updateTitleWithUnreadCount(); |
| @@ -547,7 +547,7 @@ void QtChatWindow::flash() { | |||
| 547 | emit requestFlash(); | 547 | emit requestFlash(); |
| 548 | } | 548 | } |
| 549 | 549 | ||
| 550 | int QtChatWindow::getCount() { | 550 | size_t QtChatWindow::getCount() { |
| 551 | return unreadCount_; | 551 | return unreadCount_; |
| 552 | } | 552 | } |
| 553 | 553 | ||
Swift