From 3c9fd1963664eec2d847a1aaae4da3bac355b700 Mon Sep 17 00:00:00 2001 From: Volker Kohaupt Date: Wed, 4 Oct 2023 07:35:13 +0200 Subject: [PATCH] Release 3.8.0 --- src/global.cpp | 4 ++-- src/wayland/portal_wl.cpp | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/global.cpp b/src/global.cpp index b8dae7b2..87d4034b 100644 --- a/src/global.cpp +++ b/src/global.cpp @@ -33,10 +33,10 @@ namespace global bool testWASAPI = false; #ifdef Q_OS_LINUX - QString version = "3.8.0-beta-03"; + QString version = "3.8.0"; #endif #ifdef Q_OS_WIN - QString version = "3.8.0-beta-03"; + QString version = "3.8.0"; #endif } diff --git a/src/wayland/portal_wl.cpp b/src/wayland/portal_wl.cpp index 65febaeb..347952fe 100644 --- a/src/wayland/portal_wl.cpp +++ b/src/wayland/portal_wl.cpp @@ -133,13 +133,13 @@ void Portal_wl::slot_gotCreateSessionResponse( uint response, const QVariantMap QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingCall); qDebug().noquote() << global::nameOutput << "slot_gotCreateSessionResponse()" << watcher->error(); - connect(watcher, &QDBusPendingCallWatcher::finished, this, [=] (QDBusPendingCallWatcher *watcher) { + bool bo = connect(watcher, &QDBusPendingCallWatcher::finished, this, [=] (QDBusPendingCallWatcher *watcher) { QDBusPendingReply reply = *watcher; if (reply.isError()) { - qWarning() << "Couldn't get reply"; - qWarning() << "Error: " << reply.error().message(); + qDebug() << "Couldn't get reply"; + qDebug() << "Error: " << reply.error().message(); } else { - qDebug().noquote() << global::nameOutput << "slot_gotCreateSessionResponse() into else"; + qDebug().noquote() << global::nameOutput << "slot_gotCreateSessionResponse() into else" << "reply.value().path() :" << reply.value().path(); bool bo = QDBusConnection::sessionBus().connect(QString(), reply.value().path(), QLatin1String("org.freedesktop.portal.Request"), @@ -149,6 +149,8 @@ void Portal_wl::slot_gotCreateSessionResponse( uint response, const QVariantMap qDebug() << "test test" << bo; // Hahaha, ist true und geht nicht } }); + + qDebug() << "test-1 test-1" << bo; }