Skip to content

Commit

Permalink
fix: dbus reply conversion error
Browse files Browse the repository at this point in the history
dbus reply conversion error.

Log: 

Bug: https://pms.uniontech.com/bug-view-241939.html
  • Loading branch information
Clauszy committed Jan 31, 2024
1 parent af9d33f commit 1584d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/grand-search/utils/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ bool Utils::launchAppByDBus(const QString &desktopFile, const QStringList &fileP

QDBusPendingCall call = interface.asyncCallWithArgumentList("LaunchApp", args);

QDBusReply<QString> reply = call.reply();
QDBusReply<void> reply = call.reply();
if (!reply.isValid()) {
qCritical() << "Launch app by DBus failed:" << reply.error();
return false;
Expand Down

0 comments on commit 1584d68

Please sign in to comment.