author | andyq <andyq> | 2002-10-10 11:37:53 (UTC) |
---|---|---|
committer | andyq <andyq> | 2002-10-10 11:37:53 (UTC) |
commit | cb2b407e2f58a73447d706de7c374bf275a96992 (patch) (unidiff) | |
tree | 09947396489e780b50edc73a0047a075d3a7971f | |
parent | 0d81ca9a11acbe0fb4bb86c176293c119c92f0da (diff) | |
download | opie-cb2b407e2f58a73447d706de7c374bf275a96992.zip opie-cb2b407e2f58a73447d706de7c374bf275a96992.tar.gz opie-cb2b407e2f58a73447d706de7c374bf275a96992.tar.bz2 |
Fixed bug with downloading package to selected location
-rw-r--r-- | noncore/settings/aqpkg/networkpkgmgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/networkpkgmgr.cpp b/noncore/settings/aqpkg/networkpkgmgr.cpp index ff8f182..06e2a03 100644 --- a/noncore/settings/aqpkg/networkpkgmgr.cpp +++ b/noncore/settings/aqpkg/networkpkgmgr.cpp | |||
@@ -259,17 +259,17 @@ void NetworkPackageManager :: downloadPackage() | |||
259 | getcwd( initDir, PATH_MAX ); | 259 | getcwd( initDir, PATH_MAX ); |
260 | 260 | ||
261 | // Download each package | 261 | // Download each package |
262 | Ipkg ipkg; | 262 | Ipkg ipkg; |
263 | connect( &ipkg, SIGNAL(outputText(const QString &)), this, SLOT(displayText(const QString &))); | 263 | connect( &ipkg, SIGNAL(outputText(const QString &)), this, SLOT(displayText(const QString &))); |
264 | 264 | ||
265 | QCheckListItem *item = (QCheckListItem *)packagesList->firstChild(); | 265 | QCheckListItem *item = (QCheckListItem *)packagesList->firstChild(); |
266 | ipkg.setOption( "download" ); | 266 | ipkg.setOption( "download" ); |
267 | ipkg.setRuntimeDirectory( initDir ); | 267 | ipkg.setRuntimeDirectory( dir ); |
268 | do | 268 | do |
269 | { | 269 | { |
270 | if ( item->isOn() ) | 270 | if ( item->isOn() ) |
271 | { | 271 | { |
272 | QString name = item->text(); | 272 | QString name = item->text(); |
273 | int pos = name.find( "*" ); | 273 | int pos = name.find( "*" ); |
274 | name.truncate( pos ); | 274 | name.truncate( pos ); |
275 | 275 | ||