mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 20:44:15 +00:00
Use correct type
https://doc.qt.io/qt-6/qdbustypesystem.html https://dbus.freedesktop.org/doc/dbus-specification.html#id-1.3.8
This commit is contained in:
parent
f3f9cfe44e
commit
b5fbfdf106
@ -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())
|
||||||
{
|
{
|
||||||
|
@ -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…
x
Reference in New Issue
Block a user