mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-27 16:03:03 +02:00
Fix some warnings from GCC 11
This commit is contained in:
parent
24c435bb5f
commit
fe4c5155eb
2 changed files with 2 additions and 2 deletions
|
@ -481,7 +481,7 @@ bool AddRescheduleAction(
|
||||||
list->cancelSelection();
|
list->cancelSelection();
|
||||||
for (const auto &id : ids) {
|
for (const auto &id : ids) {
|
||||||
const auto item = owner->message(id);
|
const auto item = owner->message(id);
|
||||||
if (!item && !item->isScheduled()) {
|
if (!item || !item->isScheduled()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (!item->media() || !item->media()->webpage()) {
|
if (!item->media() || !item->media()->webpage()) {
|
||||||
|
|
|
@ -98,7 +98,7 @@ public:
|
||||||
|
|
||||||
QString full() {
|
QString full() {
|
||||||
const auto file = files[LogDataMain].get();
|
const auto file = files[LogDataMain].get();
|
||||||
if (!!file || !file->isOpen()) {
|
if (!file || !file->isOpen()) {
|
||||||
return QString();
|
return QString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue