all: fix gcc warnings

This commit is contained in:
outfoxxed 2024-11-05 13:31:24 -08:00
parent 92252c36a3
commit b528be9426
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
19 changed files with 57 additions and 22 deletions

View file

@ -1,5 +1,7 @@
#pragma once
#include <utility>
#include <qlogging.h>
#include <qmutex.h>
#include <qobject.h>
@ -15,6 +17,9 @@
namespace qs::io {
struct FileViewState {
FileViewState() = default;
explicit FileViewState(QString path): path(std::move(path)) {}
QString path;
QString text;
QByteArray data;