all: fix gcc warnings and lints

This commit is contained in:
outfoxxed committed 2025-10-04 13:43:41 -07:00
1 parent 9bb2c043ae
commit c5c438f1cd
11 files changed
+42 -16

No files matched your search

+5 -1
View File
@@ -77,7 +77,11 @@ void CrashHandler::setRelaunchInfo(const RelaunchInfo& info) {
}
QFile file;
file.open(this->d->infoFd, QFile::ReadWrite);
if (!file.open(this->d->infoFd, QFile::ReadWrite)) {
qCCritical(logCrashHandler
) << "Failed to open instance info memfd, crash recovery will not work.";
}
QDataStream ds(&file);
ds << info;