2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

started photoviewer redesign

This commit is contained in:
John Preston
2015-04-11 11:04:10 +01:00
parent 8bc0410830
commit 782c254ea0
30 changed files with 1233 additions and 1108 deletions

View File

@@ -1402,7 +1402,7 @@ void MainWidget::documentLoadProgress(mtpFileLoader *loader) {
if (reader.supportsAnimation() && reader.imageCount() > 1 && item) {
startGif(item, already);
} else {
App::wnd()->showDocument(document, QPixmap::fromImage(App::readImage(already, 0, false), Qt::ColorOnly), item);
App::wnd()->showDocument(document, item);
}
} else {
psOpenFile(already);