Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: 修复dde-osd的GetCapabilities接口调用失败的问题 #304

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dde-osd/notification/notifications_dbus_adaptor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,11 @@ QStringList DDENotifyDBus::GetAppList()
return out0;
}

QStringList DDENotifyDBus::GetCapbilities()
QStringList DDENotifyDBus::GetCapabilities()
{
// handle method call com.deepin.dde.Notification.GetCapbilities
QStringList out0;
QMetaObject::invokeMethod(parent(), "GetCapbilities", Q_RETURN_ARG(QStringList, out0));
QMetaObject::invokeMethod(parent(), "GetCapabilities", Q_RETURN_ARG(QStringList, out0));
return out0;
}

Expand Down
4 changes: 2 additions & 2 deletions dde-osd/notification/notifications_dbus_adaptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class DDENotifyDBus: public QDBusAbstractAdaptor
" <method name=\"CloseNotification\">\n"
" <arg direction=\"in\" type=\"u\"/>\n"
" </method>\n"
" <method name=\"GetCapbilities\">\n"
" <method name=\"GetCapabilities\">\n"
" <arg direction=\"out\" type=\"as\"/>\n"
" </method>\n"
" <method name=\"GetServerInformation\">\n"
Expand Down Expand Up @@ -198,7 +198,7 @@ public Q_SLOTS: // METHODS
QString GetAllRecords();
QDBusVariant GetAppInfo(const QString &in0, uint in1);
QStringList GetAppList();
QStringList GetCapbilities();
QStringList GetCapabilities();
QString GetRecordById(const QString &in0);
QString GetRecordsFromId(int in0, const QString &in1);
QString GetServerInformation(QString &out1, QString &out2, QString &out3);
Expand Down