mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-15 13:57:15 +02:00
replace std::string by QString in emitFail()
This commit is contained in:
parent
66f36195d8
commit
ca52d00b80
@ -62,8 +62,8 @@ void McResolver::pingWithDomainA(QString domain, int port) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
void McResolver::emitFail(std::string error) {
|
void McResolver::emitFail(QString error) {
|
||||||
qDebug() << "Ping error:" << QString::fromStdString(error);
|
qDebug() << "Ping error:" << error;
|
||||||
emit failed();
|
emit failed();
|
||||||
emit finished();
|
emit finished();
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,7 @@ public:
|
|||||||
private:
|
private:
|
||||||
void pingWithDomainSRV(QString domain, int port);
|
void pingWithDomainSRV(QString domain, int port);
|
||||||
void pingWithDomainA(QString domain, int port);
|
void pingWithDomainA(QString domain, int port);
|
||||||
void emitFail(std::string error);
|
void emitFail(QString error);
|
||||||
void emitSucceed(QString ip, int port);
|
void emitSucceed(QString ip, int port);
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user