mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
do not add Q_NOREPLY to output from qdbusxml2cpp
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
7b9c6121c8
commit
2409d77bdb
1 changed files with 2 additions and 5 deletions
|
@ -674,7 +674,7 @@ static void writeProxy(const QString &filename, const QDBusIntrospection::Interf
|
|||
<< (isDeprecated ? "Q_DECL_DEPRECATED " : "");
|
||||
|
||||
if (isNoReply) {
|
||||
hs << "Q_NOREPLY void ";
|
||||
hs << "void ";
|
||||
} else {
|
||||
hs << "QDBusPendingReply<";
|
||||
for (int i = 0; i < method.outputArgs.count(); ++i)
|
||||
|
@ -1002,10 +1002,7 @@ static void writeAdaptor(const QString &filename, const QDBusIntrospection::Inte
|
|||
hs << "Q_DECL_DEPRECATED ";
|
||||
|
||||
QByteArray returnType;
|
||||
if (isNoReply) {
|
||||
hs << "Q_NOREPLY void ";
|
||||
cs << "void ";
|
||||
} else if (method.outputArgs.isEmpty()) {
|
||||
if (isNoReply || method.outputArgs.isEmpty()) {
|
||||
hs << "void ";
|
||||
cs << "void ";
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue