fix grabbing of domain server hostname from QString

This commit is contained in:
Stephen Birarda 2013-07-18 14:59:11 -07:00
parent 04a2dd3b86
commit 4dd6afc08f

View file

@ -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) {