From 87e7bf8795bd107ab693240766164d2c5bcd2f1a Mon Sep 17 00:00:00 2001 From: Black Hat Date: Sat, 14 Jul 2018 15:36:38 +0800 Subject: [PATCH] Remove comments. --- src/roomlistmodel.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/roomlistmodel.cpp b/src/roomlistmodel.cpp index 1388543..e94a73a 100644 --- a/src/roomlistmodel.cpp +++ b/src/roomlistmodel.cpp @@ -77,7 +77,6 @@ void RoomListModel::updateRoom(QMatrixClient::Room* room, m_rooms.begin(), m_rooms.end(), [=](const QMatrixClient::Room* r) { return r == prev || r == newRoom; }); if (it != m_rooms.end()) { - qDebug() << "Room found in m_rooms."; const int row = it - m_rooms.begin(); // There's no guarantee that prev != newRoom if (*it == prev && *it != newRoom) { @@ -87,7 +86,6 @@ void RoomListModel::updateRoom(QMatrixClient::Room* room, } emit dataChanged(index(row), index(row)); } else { - qDebug() << "Room missing in m_rooms."; beginInsertRows(QModelIndex(), m_rooms.count(), m_rooms.count()); doAddRoom(newRoom); endInsertRows();