[PC-BSD Commits] r19120 - pcbsd/current/src-qt4/pc-netmanager/src/wificonfig
svn at pcbsd.org
svn at pcbsd.org
Wed Sep 12 13:01:19 PDT 2012
Author: kris
Date: 2012-09-12 20:01:19 +0000 (Wed, 12 Sep 2012)
New Revision: 19120
Modified:
pcbsd/current/src-qt4/pc-netmanager/src/wificonfig/wepconfig.cpp
Log:
Disable hex-checking
Modified: pcbsd/current/src-qt4/pc-netmanager/src/wificonfig/wepconfig.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-netmanager/src/wificonfig/wepconfig.cpp 2012-09-12 20:01:01 UTC (rev 19119)
+++ pcbsd/current/src-qt4/pc-netmanager/src/wificonfig/wepconfig.cpp 2012-09-12 20:01:19 UTC (rev 19120)
@@ -43,16 +43,16 @@
void wepConfig::slotClose()
{
- bool ok;
- lineKey->text().toInt(&ok, 16);
- if ( ok && ! radioHex->isChecked() )
- QMessageBox::warning( this, tr("Hex Key"), tr("Warning: The entered network is a valid hex key, but plain-text mode is enabled.") );
+ //bool ok;
+ //lineKey->text().toInt(&ok, 16);
+ //if ( ok && ! radioHex->isChecked() )
+ // QMessageBox::warning( this, tr("Hex Key"), tr("Warning: The entered network is a valid hex key, but plain-text mode is enabled.") );
+ //
+ //if ( ! ok && radioHex->isChecked() ) {
+ // QMessageBox::warning( this, tr("Hex Key"), tr("Error: The specified key is not a valid hex key.") );
+ // return;
+ //}
- if ( ! ok && radioHex->isChecked() ) {
- QMessageBox::warning( this, tr("Hex Key"), tr("Error: The specified key is not a valid hex key.") );
- return;
- }
-
if ( lineKey->text() != lineKey2->text() )
{
More information about the Commits
mailing list