2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 15:05:56 +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

@@ -470,7 +470,7 @@ void DocumentOpenLink::onClick(Qt::MouseButton button) const {
if (reader.supportsAnimation() && reader.imageCount() > 1 && App::hoveredLinkItem()) {
startGif(App::hoveredLinkItem(), already);
} else {
App::wnd()->showDocument(data, QPixmap::fromImage(App::readImage(already, 0, false), Qt::ColorOnly), App::hoveredLinkItem());
App::wnd()->showDocument(data, App::hoveredLinkItem());
}
} else {
psOpenFile(already);