mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Seek done in video player in MediaView. Some memory leaks fixed.
Using pixmapFromImageInPlace() instead of QPixmap::fromImage().
This commit is contained in:
@@ -2445,8 +2445,6 @@ struct LocationData;
|
||||
class LocationManager : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
LocationManager() : manager(0), black(0) {
|
||||
}
|
||||
void init();
|
||||
void reinit();
|
||||
void deinit();
|
||||
@@ -2464,10 +2462,10 @@ public slots:
|
||||
private:
|
||||
void failed(LocationData *data);
|
||||
|
||||
QNetworkAccessManager *manager;
|
||||
QNetworkAccessManager *manager = nullptr;
|
||||
QMap<QNetworkReply*, LocationData*> dataLoadings, imageLoadings;
|
||||
QMap<LocationData*, int32> serverRedirects;
|
||||
ImagePtr *black;
|
||||
ImagePtr *black = nullptr;
|
||||
};
|
||||
|
||||
class HistoryLocation : public HistoryMedia {
|
||||
|
Reference in New Issue
Block a user