Replace emit with Q_EMIT
This commit is contained in:
@@ -131,7 +131,7 @@ qint64 MockNetworkReply::writeData(const char*, qint64) {
|
||||
void MockNetworkReply::Done() {
|
||||
|
||||
setOpenMode(QIODevice::ReadOnly);
|
||||
emit finished();
|
||||
Q_EMIT finished();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ TestQObject::TestQObject(QObject *parent)
|
||||
}
|
||||
|
||||
void TestQObject::Emit() {
|
||||
emit Emitted();
|
||||
Q_EMIT Emitted();
|
||||
}
|
||||
|
||||
void TestQObject::Invoke() {
|
||||
|
||||
Reference in New Issue
Block a user