summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAleksandar Sasha Babic <aleksandar.babic@nokia.com>2009-07-06 16:26:20 (GMT)
committerAleksandar Sasha Babic <aleksandar.babic@nokia.com>2009-07-06 16:26:20 (GMT)
commitf858f18f3d8e7004629750816772f4e8e42b8b33 (patch)
treee3051fc5319db721788500739b57028d9b23acf4 /examples
parentb07ad963df5a79217061144bdea1ef7fc27956dc (diff)
downloadQt-f858f18f3d8e7004629750816772f4e8e42b8b33.zip
Qt-f858f18f3d8e7004629750816772f4e8e42b8b33.tar.gz
Qt-f858f18f3d8e7004629750816772f4e8e42b8b33.tar.bz2
Forgot variable definitioin.
Diffstat (limited to 'examples')
-rw-r--r--examples/network/ftp/sym_iap_util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/network/ftp/sym_iap_util.h b/examples/network/ftp/sym_iap_util.h
index 06d9482..6d52b1d 100644
--- a/examples/network/ftp/sym_iap_util.h
+++ b/examples/network/ftp/sym_iap_util.h
@@ -260,8 +260,9 @@ static QString qt_CheckForActiveConnection() {
}
static QString qt_CheckSettingsForConnection(QStringList& iapNames) {
+ QString strIapName;
for(int index = 0; index < iapNames.size(); ++index) {
- QString strIapName = iapNames.at(index);
+ strIapName = iapNames.at(index);
int error = 0;
if(!qt_SetDefaultIapName(strIapName, error)) {
//printf("failed setdefaultif @ %i with %s and errno = %d \n", __LINE__, strIapName.toUtf8().data(), error);