Chocobo1 1 year ago
parent
commit
b5fbfdf106
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/gui/powermanagement/powermanagement_x11.cpp
  2. 2
      src/gui/powermanagement/powermanagement_x11.h

2
src/gui/powermanagement/powermanagement_x11.cpp

@ -176,7 +176,7 @@ void PowerManagementInhibitor::onAsyncReply(QDBusPendingCallWatcher *call)
} }
else else
{ {
const QDBusPendingReply<quint32> reply = *call; const QDBusPendingReply<uint> reply = *call;
if (reply.isError()) if (reply.isError())
{ {

2
src/gui/powermanagement/powermanagement_x11.h

@ -71,6 +71,6 @@ private:
enum State m_state = Error; enum State m_state = Error;
enum State m_intendedState = Idle; enum State m_intendedState = Idle;
quint32 m_cookie = 0; uint m_cookie = 0;
QDBusUnixFileDescriptor m_fd; QDBusUnixFileDescriptor m_fd;
}; };

Loading…
Cancel
Save