2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

fixed speed in os x qt, added langs for report spam confirm, fixed os x drag n drop forward

This commit is contained in:
John Preston
2015-09-12 22:00:56 +03:00
parent 8f0606c9b6
commit f431591bef
16 changed files with 2412 additions and 3 deletions

View File

@@ -1312,6 +1312,7 @@ void MainWidget::itemResized(HistoryItem *row, bool scrollToIt) {
if (overview) {
overview->itemResized(row, scrollToIt);
}
if (row) msgUpdated(row->history()->peer->id, row);
}
bool MainWidget::overviewFailed(PeerData *peer, const RPCError &error, mtpRequestId req) {
@@ -1988,6 +1989,14 @@ void MainWidget::contactsReceived() {
history.contactsReceived();
}
void MainWidget::updateAfterDrag() {
if (overview) {
overview->updateAfterDrag();
} else {
history.updateAfterDrag();
}
}
void MainWidget::showPeerHistory(quint64 peerId, qint32 showAtMsgId, bool back) {
if (!back && (!peerId || (_stack.size() == 1 && _stack[0]->type() == HistoryStackItem && _stack[0]->peer->id == peerId))) {
back = true;