mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 14:05:58 +03:00
[dolphin] Don't rely on emit and signals, use the Q_* macros instead
Signed-off-by: Kevin Ottens <ervin@kde.org>
This commit is contained in:
parent
d98d2cead5
commit
6dbe8cc075
3 changed files with 3 additions and 3 deletions
|
@ -98,7 +98,7 @@ private:
|
||||||
return;
|
return;
|
||||||
status = tokens[1];
|
status = tokens[1];
|
||||||
|
|
||||||
emit overlaysChanged(QUrl::fromLocalFile(QString::fromUtf8(name)), overlaysForString(status));
|
Q_EMIT overlaysChanged(QUrl::fromLocalFile(QString::fromUtf8(name)), overlaysForString(status));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -112,6 +112,6 @@ void OwncloudDolphinPluginHelper::slotReadyRead()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
emit commandRecieved(line);
|
Q_EMIT commandRecieved(line);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,7 +52,7 @@ public:
|
||||||
|
|
||||||
QByteArray version() { return _version; }
|
QByteArray version() { return _version; }
|
||||||
|
|
||||||
signals:
|
Q_SIGNALS:
|
||||||
void commandRecieved(const QByteArray &cmd);
|
void commandRecieved(const QByteArray &cmd);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
Loading…
Reference in a new issue