mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Fix getting FileChooser portal version
This commit is contained in:
@@ -162,11 +162,11 @@ uint FileChooserPortalVersion() {
|
||||
qsl("version")
|
||||
});
|
||||
|
||||
const QDBusReply<uint> reply = QDBusConnection::sessionBus().call(
|
||||
const QDBusReply<QVariant> reply = QDBusConnection::sessionBus().call(
|
||||
message);
|
||||
|
||||
if (reply.isValid()) {
|
||||
return reply.value();
|
||||
return reply.value().toUInt();
|
||||
} else {
|
||||
LOG(("Error getting FileChooser portal version: %1")
|
||||
.arg(reply.error().message()));
|
||||
|
Reference in New Issue
Block a user