Skip to content

Commit

Permalink
Release 3.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Volker Kohaupt committed Oct 4, 2023
1 parent 0bcaf82 commit 3c9fd19
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/global.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
10 changes: 6 additions & 4 deletions src/wayland/portal_wl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<QDBusObjectPath> 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"),
Expand All @@ -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;
}


Expand Down

0 comments on commit 3c9fd19

Please sign in to comment.