author | andyq <andyq> | 2002-10-17 23:24:27 (UTC) |
---|---|---|
committer | andyq <andyq> | 2002-10-17 23:24:27 (UTC) |
commit | 30b26ed0dbbbee829f16ab8ea1e531b89938232d (patch) (unidiff) | |
tree | 89f2639cfc97e74fa15c50cd360acba25e9a2cab | |
parent | cd48ed3935f1baa6392afee5764d0927abcf62cc (diff) | |
download | opie-30b26ed0dbbbee829f16ab8ea1e531b89938232d.zip opie-30b26ed0dbbbee829f16ab8ea1e531b89938232d.tar.gz opie-30b26ed0dbbbee829f16ab8ea1e531b89938232d.tar.bz2 |
Fixed bug which caused links to be recreated even if same version of package was reinstalled
-rw-r--r-- | noncore/settings/aqpkg/installdlgimpl.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/noncore/settings/aqpkg/installdlgimpl.cpp b/noncore/settings/aqpkg/installdlgimpl.cpp index bbb0be75..e122064 100644 --- a/noncore/settings/aqpkg/installdlgimpl.cpp +++ b/noncore/settings/aqpkg/installdlgimpl.cpp | |||
@@ -172,5 +172,5 @@ void InstallDlgImpl :: installSelected() | |||
172 | QString destDir = d->getDestinationPath(); | 172 | QString destDir = d->getDestinationPath(); |
173 | int instFlags = 0; | 173 | int instFlags = flags; |
174 | if ( d->linkToRoot() ) | 174 | if ( d->linkToRoot() ) |
175 | instFlags = MAKE_LINKS; | 175 | instFlags |= MAKE_LINKS; |
176 | 176 | ||
@@ -195,4 +195,2 @@ void InstallDlgImpl :: installSelected() | |||
195 | tmpFlags |= MAKE_LINKS; | 195 | tmpFlags |= MAKE_LINKS; |
196 | else | ||
197 | tmpFlags ^= MAKE_LINKS; | ||
198 | 196 | ||
@@ -223,4 +221,2 @@ void InstallDlgImpl :: installSelected() | |||
223 | tmpFlags |= MAKE_LINKS; | 221 | tmpFlags |= MAKE_LINKS; |
224 | else | ||
225 | tmpFlags ^= MAKE_LINKS; | ||
226 | ipkg.setFlags( tmpFlags ); | 222 | ipkg.setFlags( tmpFlags ); |