Fix Auto config missing hostname prompt #704
I think this might fix the prompt for a missing hostname when auto config is checked
This commit is contained in:
parent
dbd10820c3
commit
21eadc9661
|
@ -595,9 +595,7 @@ bool MainWindow::clientArgs(QStringList& args, QString& app)
|
||||||
args << "[" + serverIp + "]:" + QString::number(appConfig().port());
|
args << "[" + serverIp + "]:" + QString::number(appConfig().port());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
} else if (m_pLineEditHostname->text().isEmpty()) {
|
||||||
|
|
||||||
if (m_pLineEditHostname->text().isEmpty()) {
|
|
||||||
show();
|
show();
|
||||||
if (!m_SuppressEmptyServerWarning) {
|
if (!m_SuppressEmptyServerWarning) {
|
||||||
QMessageBox::warning(this, tr("Hostname is empty"),
|
QMessageBox::warning(this, tr("Hostname is empty"),
|
||||||
|
|
Loading…
Reference in New Issue