2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

0.6.2 version, context menus fixed, image documents view in overlay added

This commit is contained in:
John Preston
2014-10-07 21:57:57 +04:00
parent c3a5194a6c
commit aebe171f55
27 changed files with 648 additions and 326 deletions

View File

@@ -334,7 +334,7 @@ void DialogsListWidget::onPeerPhotoChanged(PeerData *peer) {
}
void DialogsListWidget::onFilterUpdate(QString newFilter, bool force) {
newFilter = textAccentFold(newFilter.trimmed().toLower());
newFilter = textSearchKey(newFilter);
if (newFilter != filter || force) {
QStringList f;
if (!newFilter.isEmpty()) {
@@ -466,6 +466,7 @@ void DialogsListWidget::onItemRemoved(HistoryItem *item) {
for (int i = 0; i < searchResults.size();) {
if (searchResults[i]->_item == item) {
searchResults.remove(i);
if (searchedCount > 0) --searchedCount;
} else {
++i;
}