author | simon <simon> | 2002-11-08 15:16:56 (UTC) |
---|---|---|
committer | simon <simon> | 2002-11-08 15:16:56 (UTC) |
commit | c2d39953b626147400114dbde85d87bdf5081576 (patch) (side-by-side diff) | |
tree | 137fdab93cbf9786d35a8060d0c1aebdfa552570 /noncore | |
parent | 0850f627522ed8765ffd37dfa47dc3c40fd543be (diff) | |
download | opie-c2d39953b626147400114dbde85d87bdf5081576.zip opie-c2d39953b626147400114dbde85d87bdf5081576.tar.gz opie-c2d39953b626147400114dbde85d87bdf5081576.tar.bz2 |
- for ( i; i <= numberOfEntries; i++) {
+ for ( ; i <= numberOfEntries; i++) {
-rw-r--r-- | noncore/net/opieftp/opieftp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/opieftp/opieftp.cpp b/noncore/net/opieftp/opieftp.cpp index 3d97ecb..292cc9d 100644 --- a/noncore/net/opieftp/opieftp.cpp +++ b/noncore/net/opieftp/opieftp.cpp @@ -1375,17 +1375,17 @@ void OpieFtp::deleteServer() // servername.find( cfg.readEntry("ServerName")) != -1 && // remoteServerStr.find( cfg.readEntry("RemotePath")) != -1 && // username.find( cfg.readEntry("Username")) != -1) { serverListView->removeItem(i); qDebug("OK DELETE "+tempname); cfg.removeEntry(QString::number(i)); - for ( i; i <= numberOfEntries; i++) { + for ( ; i <= numberOfEntries; i++) { cfg.setGroup("Server"); cfg.writeEntry("Server", QString::number(numberOfEntries + 1 )); cfg.setGroup(QString::number(i+1)); //get next server config servername=cfg.readEntry("ServerName"); remoteServerStr=cfg.readEntry("RemotePath"); username=cfg.readEntry("Username"); password=cfg.readEntryCrypt( username); |