2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

inline gif view done, some design improvements, version 0.6.3

This commit is contained in:
John Preston
2014-10-10 16:46:20 +04:00
parent 3009200b76
commit 09e2fbaa6b
29 changed files with 548 additions and 195 deletions

View File

@@ -588,9 +588,9 @@ void Window::showPhoto(PhotoData *photo, PeerData *peer) {
_mediaView->setFocus();
}
void Window::showDocument(DocumentData *doc, HistoryItem *item) {
void Window::showDocument(DocumentData *doc, QPixmap pix, HistoryItem *item) {
layerHidden();
_mediaView->showDocument(doc, item);
_mediaView->showDocument(doc, pix, item);
_mediaView->activateWindow();
_mediaView->setFocus();
}