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

moved to 44 layer

This commit is contained in:
John Preston
2015-12-16 18:31:56 +03:00
parent ae78d13284
commit 1545e7f796
9 changed files with 521 additions and 24 deletions

View File

@@ -1328,6 +1328,7 @@ namespace App {
return page;
} break;
case mtpc_webPagePending: return App::feedWebPage(webpage.c_webPagePending());
case mtpc_webPageExternal: LOG(("API Error: should not get webPageExternal in App::feedWebPage")); break;
}
return 0;
}
@@ -2444,7 +2445,7 @@ namespace App {
if (!::gifItems.isEmpty()) {
if (HistoryItem *playing = ::gifItems.begin().value()) {
if (playing->getMedia() && playing->getMedia()->type() == MediaTypeGif) {
// static_cast<HistoryGif*>(playing->getMedia())->stop(playing);
static_cast<HistoryGif*>(playing->getMedia())->stop(playing);
}
}
}