summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-04-23 17:40:10 (UTC)
committer llornkcor <llornkcor>2002-04-23 17:40:10 (UTC)
commit7200c56e4ccc6aa83d1a3ef86ddda9470492ab52 (patch) (side-by-side diff)
treeefa9dd4bc86ea8a452c2338caea0a63d02756d0d
parentadf10e0e160b18fe329b6baccf5dc666d612fe8e (diff)
downloadopie-7200c56e4ccc6aa83d1a3ef86ddda9470492ab52.zip
opie-7200c56e4ccc6aa83d1a3ef86ddda9470492ab52.tar.gz
opie-7200c56e4ccc6aa83d1a3ef86ddda9470492ab52.tar.bz2
default of 192.168.129.0/24 wasn't showing on first time
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/settings/security/security.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/settings/security/security.cpp b/core/settings/security/security.cpp
index f4116b0..6c1931a 100644
--- a/core/settings/security/security.cpp
+++ b/core/settings/security/security.cpp
@@ -16,49 +16,49 @@
** Contact info@trolltech.com if any conditions of this licensing are
** not clear to you.
**
**********************************************************************/
#include "security.h"
#include <qpe/config.h>
#include <qpe/password.h>
#include <qpe/qpedialog.h>
#include <qcheckbox.h>
#include <qpushbutton.h>
#include <qcombobox.h>
#include <qmessagebox.h>
Security::Security( QWidget* parent, const char* name, WFlags fl )
: SecurityBase( parent, name, TRUE, fl )
{
valid=FALSE;
Config cfg("Security");
cfg.setGroup("Passcode");
passcode = cfg.readEntry("passcode");
passcode_poweron->setChecked(cfg.readBoolEntry("passcode_poweron",FALSE));
cfg.setGroup("Sync");
- int auth_peer = cfg.readNumEntry("auth_peer",0xc0a80100);
+ int auth_peer = cfg.readNumEntry("auth_peer",0xc0a88100);//new default 192.168.129.0/24
int auth_peer_bits = cfg.readNumEntry("auth_peer_bits",24);
selectNet(auth_peer,auth_peer_bits);
connect(syncnet, SIGNAL(textChanged(const QString&)),
this, SLOT(setSyncNet(const QString&)));
/*
cfg.setGroup("Remote");
if ( telnetAvailable() )
telnet->setChecked(cfg.readEntry("allow_telnet"));
else
telnet->hide();
if ( sshAvailable() )
ssh->setChecked(cfg.readEntry("allow_ssh"));
else
ssh->hide();
*/
connect(changepasscode,SIGNAL(clicked()), this, SLOT(changePassCode()));
connect(clearpasscode,SIGNAL(clicked()), this, SLOT(clearPassCode()));
updateGUI();
dl = new QPEDialogListener(this);
}