forked from quickshell/quickshell
lint: remove reinterpret_cast lint
Unhelpful.
This commit is contained in:
parent
be5e5fc4a5
commit
3fc1c914c7
15 changed files with 41 additions and 72 deletions
|
@ -281,7 +281,7 @@ void FileViewWriter::write(
|
|||
if (shouldCancel.loadAcquire()) return;
|
||||
|
||||
if (doAtomicWrite) {
|
||||
if (!reinterpret_cast<QSaveFile*>(file.get())->commit()) { // NOLINT
|
||||
if (!reinterpret_cast<QSaveFile*>(file.get())->commit()) {
|
||||
qmlWarning(view) << "Write of " << state.path << " failed: Atomic commit failed.";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue