summaryrefslogtreecommitdiff
authordrw <drw>2003-03-27 02:13:19 (UTC)
committer drw <drw>2003-03-27 02:13:19 (UTC)
commit72673ba6769cef021f23002cb0a8e1545ee43632 (patch) (unidiff)
treece11217c6ad7c55c0b9f2a443bd49586636b8640
parent0fc0190f424cf7e05f82a5c506db74c1e7f98e3b (diff)
downloadopie-72673ba6769cef021f23002cb0a8e1545ee43632.zip
opie-72673ba6769cef021f23002cb0a8e1545ee43632.tar.gz
opie-72673ba6769cef021f23002cb0a8e1545ee43632.tar.bz2
Fix bug #780 - correctly identify whether a package is really installed or not
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/package.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/package.cpp b/noncore/settings/aqpkg/package.cpp
index db3e927..99187ac 100644
--- a/noncore/settings/aqpkg/package.cpp
+++ b/noncore/settings/aqpkg/package.cpp
@@ -69,13 +69,13 @@ QString Package :: toString()
69} 69}
70 70
71void Package :: setStatus( const QString &s ) 71void Package :: setStatus( const QString &s )
72{ 72{
73 status = s; 73 status = s;
74 74
75 if ( status.find( "installed" ) != -1 ) 75 if ( status.find( "ok installed" ) != -1 )
76 installed = true; 76 installed = true;
77} 77}
78 78
79void Package :: setLocalPackage( Package *p ) 79void Package :: setLocalPackage( Package *p )
80{ 80{
81 localPackage = p; 81 localPackage = p;