mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 14:18:24 +02:00
fix grabbing of domain server hostname from QString
This commit is contained in:
parent
04a2dd3b86
commit
4dd6afc08f
1 changed files with 1 additions and 2 deletions
|
@ -1143,8 +1143,7 @@ void Application::editPreferences() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const char* newHostname = domainServerHostname->text().toStdString().c_str();
|
||||||
const char* newHostname = domainServerHostname->text().toLocal8Bit().data();
|
|
||||||
|
|
||||||
// check if the domain server hostname is new
|
// check if the domain server hostname is new
|
||||||
if (memcmp(NodeList::getInstance()->getDomainHostname(), newHostname, sizeof(&newHostname)) != 0) {
|
if (memcmp(NodeList::getInstance()->getDomainHostname(), newHostname, sizeof(&newHostname)) != 0) {
|
||||||
|
|
Loading…
Reference in a new issue