| 142 | } |
| 143 | |
| 144 | bool CloudImage::isCurrentView(const std::shared_ptr<QImage> &view) const { |
| 145 | if (!view) { |
| 146 | return empty(); |
| 147 | } |
| 148 | return !view.owner_before(_view) && !_view.owner_before(view); |
| 149 | } |
| 150 | |
| 151 | void CloudImage::setToActive( |
| 152 | not_null<Main::Session*> session, |
no outgoing calls
no test coverage detected