Permalink
Browse files

Allow uppercase hostname chars

  • Loading branch information...
1 parent b077651 commit 7a84a280a31aea2ac97517185b82015cfa8b51fa @kmoore134 kmoore134 committed Dec 6, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 src-qt4/pc-firstbootgui/firstboot.cpp
@@ -189,9 +189,8 @@ void Installer::slotCheckRootPW()
void Installer::slotCheckHost()
{
- QRegExp hostnameRegExp("^(([a-z0-9][a-z0-9-].*[a-z0-9])|([a-z0-9]+))$");
+ QRegExp hostnameRegExp("^(([a-zA-Z0-9][a-zA-Z0-9-].*[a-zA-Z0-9])|([a-zA-Z0-9]+))$");
nextButton->setEnabled(false);
- lineHostname->setText(lineHostname->text().toLower());
if (lineHostname->text().isEmpty())
{
lineHostname->setToolTip(tr("Please enter a hostname"));

0 comments on commit 7a84a28

Please sign in to comment.