summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/packagelistitem.cpp
Unidiff
Diffstat (limited to 'noncore/unsupported/oipkg/packagelistitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/packagelistitem.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/packagelistitem.cpp b/noncore/unsupported/oipkg/packagelistitem.cpp
index b5e86f5..03bf477 100644
--- a/noncore/unsupported/oipkg/packagelistitem.cpp
+++ b/noncore/unsupported/oipkg/packagelistitem.cpp
@@ -109,13 +109,12 @@ void PackageListItem::paintFocus( QPainter *p, const QColorGroup & cg,
109} 109}
110 110
111QPixmap PackageListItem::statePixmap() const 111QPixmap PackageListItem::statePixmap() const
112{ 112{
113 bool installed = package->installed(); 113 bool installed = package->installed();
114 bool old = package->isOld(); 114 bool old = package->isOld();
115 bool versions = package->hasVersions();
116 bool verinstalled = package->otherInstalled(); 115 bool verinstalled = package->otherInstalled();
117 if ( !package->toProcess() ) { 116 if ( !package->toProcess() ) {
118 if ( !installed ) 117 if ( !installed )
119 if (old) 118 if (old)
120 { 119 {
121 if (verinstalled) return *pm_uninstalled_old_installed_new; 120 if (verinstalled) return *pm_uninstalled_old_installed_new;