author | andyq <andyq> | 2002-11-21 18:57:01 (UTC) |
---|---|---|
committer | andyq <andyq> | 2002-11-21 18:57:01 (UTC) |
commit | e6cb9bb71d4849263ada2f5549c85740c96b065a (patch) (side-by-side diff) | |
tree | d44c457f77722342ccb5a0c7b99dcfcae6f17a94 /noncore/settings/aqpkg/networkpkgmgr.cpp | |
parent | 1efe11a03d5cd3c0b81c5fee7d0e88dca2e06da8 (diff) | |
download | opie-e6cb9bb71d4849263ada2f5549c85740c96b065a.zip opie-e6cb9bb71d4849263ada2f5549c85740c96b065a.tar.gz opie-e6cb9bb71d4849263ada2f5549c85740c96b065a.tar.bz2 |
Package sections default to N/A unless they are set (description, etc), changed LinkToRoot to Link To Root, and couple of other small fixes
Diffstat (limited to 'noncore/settings/aqpkg/networkpkgmgr.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/networkpkgmgr.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/noncore/settings/aqpkg/networkpkgmgr.cpp b/noncore/settings/aqpkg/networkpkgmgr.cpp index e8e2982..d9e62b6 100644 --- a/noncore/settings/aqpkg/networkpkgmgr.cpp +++ b/noncore/settings/aqpkg/networkpkgmgr.cpp @@ -279,44 +279,46 @@ void NetworkPackageManager :: serverSelected( int ) destName = it->getLocalPackage()->getInstalledTo()->getDestinationName(); } else { if ( it->getInstalledTo() ) destName = it->getInstalledTo()->getDestinationName(); } if ( destName != "" ) new QCheckListItem( item, QString( "Installed To - " ) + destName ); } if ( !it->isPackageStoredLocally() ) + { new QCheckListItem( item, QString( "Description - " ) + it->getDescription() ); + new QCheckListItem( item, QString( "Size - " ) + it->getPackageSize() ); + new QCheckListItem( item, QString( "Section - " ) + it->getSection() ); + } else new QCheckListItem( item, QString( "Filename - " ) + it->getFilename() ); if ( serverName == LOCAL_SERVER ) { new QCheckListItem( item, QString( "V. Installed - " ) + it->getVersion() ); } else { new QCheckListItem( item, QString( "V. Available - " ) + it->getVersion() ); if ( it->getLocalPackage() ) { if ( it->isInstalled() ) new QCheckListItem( item, QString( "V. Installed - " ) + it->getInstalledVersion() ); } } - new QCheckListItem( item, QString( "Size - " ) + it->getPackageSize() ); - new QCheckListItem( item, QString( "Section - " ) + it->getSection() ); packagesList->insertItem( item ); } // If the local server or the local ipkgs server disable the download button if ( serverName == LOCAL_SERVER ) { upgrade->setEnabled( false ); download->setText( "Download" ); download->setEnabled( true ); } else if ( serverName == LOCAL_IPKGS ) { |