mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 15:23:56 +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;
|
||||
}
|
||||
|
||||
|
||||
const char* newHostname = domainServerHostname->text().toLocal8Bit().data();
|
||||
const char* newHostname = domainServerHostname->text().toStdString().c_str();
|
||||
|
||||
// check if the domain server hostname is new
|
||||
if (memcmp(NodeList::getInstance()->getDomainHostname(), newHostname, sizeof(&newHostname)) != 0) {
|
||||
|
|
Loading…
Reference in a new issue