mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-29 16:11:37 -04:00
[Browser] Crash Fix
This commit is contained in:
parent
ff0d21ef38
commit
76e866c5c9
@ -85,7 +85,6 @@ void NetController::setData(QString address, QJsonObject server, ServerModel *mo
|
|||||||
model->setData(mi, server["passw"].toBool());
|
model->setData(mi, server["passw"].toBool());
|
||||||
|
|
||||||
mi = model->index(0, ServerData::PING);
|
mi = model->index(0, ServerData::PING);
|
||||||
|
|
||||||
// This *should* fix a crash when a port isn't returned by data.
|
// This *should* fix a crash when a port isn't returned by data.
|
||||||
if(!address.contains(":"))
|
if(!address.contains(":"))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user