mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-12 04:24:37 +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) {
|
||||
qDebug() << "Ping error:" << QString::fromStdString(error);
|
||||
void McResolver::emitFail(QString error) {
|
||||
qDebug() << "Ping error:" << error;
|
||||
emit failed();
|
||||
emit finished();
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ public:
|
||||
private:
|
||||
void pingWithDomainSRV(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);
|
||||
|
||||
signals:
|
||||
|
Loading…
x
Reference in New Issue
Block a user