mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
improved bad_msg_notification handle and local time shifts
This commit is contained in:
@@ -227,6 +227,7 @@ struct VideoData {
|
||||
if (l) {
|
||||
l->cancel();
|
||||
l->deleteLater();
|
||||
l->rpcInvalidate();
|
||||
}
|
||||
fileName = QString();
|
||||
modDate = QDateTime();
|
||||
@@ -241,6 +242,7 @@ struct VideoData {
|
||||
modDate = fileName.isEmpty() ? QDateTime() : QFileInfo(fileName).lastModified();
|
||||
}
|
||||
loader->deleteLater();
|
||||
loader->rpcInvalidate();
|
||||
loader = 0;
|
||||
}
|
||||
|
||||
@@ -328,6 +330,7 @@ struct AudioData {
|
||||
if (l) {
|
||||
l->cancel();
|
||||
l->deleteLater();
|
||||
l->rpcInvalidate();
|
||||
}
|
||||
fileName = QString();
|
||||
modDate = QDateTime();
|
||||
@@ -342,6 +345,7 @@ struct AudioData {
|
||||
modDate = fileName.isEmpty() ? QDateTime() : QFileInfo(fileName).lastModified();
|
||||
}
|
||||
loader->deleteLater();
|
||||
loader->rpcInvalidate();
|
||||
loader = 0;
|
||||
}
|
||||
|
||||
@@ -427,6 +431,7 @@ struct DocumentData {
|
||||
if (l) {
|
||||
l->cancel();
|
||||
l->deleteLater();
|
||||
l->rpcInvalidate();
|
||||
}
|
||||
fileName = QString();
|
||||
modDate = QDateTime();
|
||||
@@ -441,6 +446,7 @@ struct DocumentData {
|
||||
modDate = fileName.isEmpty() ? QDateTime() : QFileInfo(fileName).lastModified();
|
||||
}
|
||||
loader->deleteLater();
|
||||
loader->rpcInvalidate();
|
||||
loader = 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user