all: fix gcc warnings

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

View file

@ -172,12 +172,14 @@ private:
void updateRegistration(bool destroying = false);
struct RegistrationState {
explicit RegistrationState(bool enabled = false): enabled(enabled) {}
bool enabled = false;
QString target;
};
RegistrationState registeredState;
RegistrationState targetState {.enabled = true};
RegistrationState targetState {true};
bool complete = false;
QHash<QString, IpcFunction> functionMap;