author | llornkcor <llornkcor> | 2002-04-22 03:16:47 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-04-22 03:16:47 (UTC) |
commit | 0a4f886e48153d6f423cc8ad8b31ce491128d423 (patch) (unidiff) | |
tree | 6cbbf373919a5e0be34a2b541a7e7eedd27eea58 | |
parent | 6417ac419f6aa07eec671f3821766c0c0cf958f0 (diff) | |
download | opie-0a4f886e48153d6f423cc8ad8b31ce491128d423.zip opie-0a4f886e48153d6f423cc8ad8b31ce491128d423.tar.gz opie-0a4f886e48153d6f423cc8ad8b31ce491128d423.tar.bz2 |
added extern C for #include ftplib.h
-rw-r--r-- | noncore/net/opieftp/opieftp.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/net/opieftp/opieftp.cpp b/noncore/net/opieftp/opieftp.cpp index e15bbef..d78b7d1 100644 --- a/noncore/net/opieftp/opieftp.cpp +++ b/noncore/net/opieftp/opieftp.cpp | |||
@@ -12,7 +12,11 @@ | |||
12 | //#define DEVELOPERS_VERSION | 12 | //#define DEVELOPERS_VERSION |
13 | 13 | ||
14 | #include "opieftp.h" | 14 | #include "opieftp.h" |
15 | |||
16 | extern "C" { | ||
15 | #include "ftplib.h" | 17 | #include "ftplib.h" |
18 | } | ||
19 | |||
16 | #include "inputDialog.h" | 20 | #include "inputDialog.h" |
17 | 21 | ||
18 | #include <qpe/qpemenubar.h> | 22 | #include <qpe/qpemenubar.h> |
@@ -1232,6 +1236,8 @@ void OpieFtp::serverComboSelected(int index) | |||
1232 | 1236 | ||
1233 | username = cfg.readEntry("Username", "anonymous"); | 1237 | username = cfg.readEntry("Username", "anonymous"); |
1234 | UsernameComboBox->lineEdit()->setText(username); | 1238 | UsernameComboBox->lineEdit()->setText(username); |
1239 | |||
1240 | // qDebug("Password is "+cfg.readEntryCrypt(username, "me@opieftp.org")); | ||
1235 | PasswordEdit->setText(cfg.readEntryCrypt(username, "me@opieftp.org")); | 1241 | PasswordEdit->setText(cfg.readEntryCrypt(username, "me@opieftp.org")); |
1236 | 1242 | ||
1237 | cfg.setGroup("Server"); | 1243 | cfg.setGroup("Server"); |