Diffstat (limited to 'noncore/settings/aqpkg/package.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/package.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/settings/aqpkg/package.cpp b/noncore/settings/aqpkg/package.cpp index 83e0706..3395870 100644 --- a/noncore/settings/aqpkg/package.cpp +++ b/noncore/settings/aqpkg/package.cpp | |||
@@ -52,2 +52,3 @@ Package::Package( char *name ) | |||
52 | installedTo = 0; | 52 | installedTo = 0; |
53 | differentVersionAvailable = false; | ||
53 | } | 54 | } |
@@ -91,3 +92,3 @@ void Package :: setLocalPackage( Package *p ) | |||
91 | if ( localPackage ) | 92 | if ( localPackage ) |
92 | if ( localPackage->getVersion() != getVersion() ) | 93 | if ( localPackage->getVersion() < getVersion() && !installed ) |
93 | differentVersionAvailable = true; | 94 | differentVersionAvailable = true; |
@@ -102,3 +103,3 @@ void Package :: setVersion( const QString &v ) | |||
102 | if ( localPackage ) | 103 | if ( localPackage ) |
103 | if ( localPackage->getVersion() != getVersion() ) | 104 | if ( localPackage->getVersion() < getVersion() && !installed ) |
104 | differentVersionAvailable = true; | 105 | differentVersionAvailable = true; |