mirror of https://github.com/procxx/kepka.git
Fix build with gcc 9
This commit is contained in:
parent
fec6a8dd96
commit
99a8c93ac1
|
@ -104,7 +104,7 @@ bool Inhibited() {
|
||||||
const QDBusReply<QVariant> reply = QDBusConnection::sessionBus().call(
|
const QDBusReply<QVariant> reply = QDBusConnection::sessionBus().call(
|
||||||
message);
|
message);
|
||||||
|
|
||||||
constexpr auto notSupportedErrors = {
|
const auto notSupportedErrors = {
|
||||||
QDBusError::ServiceUnknown,
|
QDBusError::ServiceUnknown,
|
||||||
QDBusError::InvalidArgs,
|
QDBusError::InvalidArgs,
|
||||||
};
|
};
|
||||||
|
|
|
@ -374,7 +374,7 @@ std::optional<crl::time> LastUserInputTime() {
|
||||||
const QDBusReply<uint> reply = QDBusConnection::sessionBus().call(
|
const QDBusReply<uint> reply = QDBusConnection::sessionBus().call(
|
||||||
message);
|
message);
|
||||||
|
|
||||||
constexpr auto notSupportedErrors = {
|
const auto notSupportedErrors = {
|
||||||
QDBusError::ServiceUnknown,
|
QDBusError::ServiceUnknown,
|
||||||
QDBusError::NotSupported,
|
QDBusError::NotSupported,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue