-rw-r--r-- | noncore/settings/aqpkg/networkpkgmgr.cpp | 6 | ||||
-rw-r--r-- | noncore/settings/aqpkg/package.cpp | 12 | ||||
-rw-r--r-- | noncore/settings/aqpkg/settings.ui | 2 |
3 files changed, 17 insertions, 3 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 @@ -289,5 +289,9 @@ void NetworkPackageManager :: serverSelected( int ) 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() ); @@ -307,6 +311,4 @@ void NetworkPackageManager :: serverSelected( int ) } - new QCheckListItem( item, QString( "Size - " ) + it->getPackageSize() ); - new QCheckListItem( item, QString( "Section - " ) + it->getSection() ); packagesList->insertItem( item ); } diff --git a/noncore/settings/aqpkg/package.cpp b/noncore/settings/aqpkg/package.cpp index 526de5e..db3e927 100644 --- a/noncore/settings/aqpkg/package.cpp +++ b/noncore/settings/aqpkg/package.cpp @@ -22,4 +22,10 @@ Package::Package( QString &name ) { packageName = name; + + version = "N/A"; + description = "N/A"; + packageSize = "N/A"; + section = "N/A"; + localPackage = 0; installed = false; @@ -33,4 +39,10 @@ Package::Package( char *name ) { packageName = name; + + version = "N/A"; + description = "N/A"; + packageSize = "N/A"; + section = "N/A"; + localPackage = 0; installed = false; diff --git a/noncore/settings/aqpkg/settings.ui b/noncore/settings/aqpkg/settings.ui index c2db861..44e8fd9 100644 --- a/noncore/settings/aqpkg/settings.ui +++ b/noncore/settings/aqpkg/settings.ui @@ -480,5 +480,5 @@ <property stdset="1"> <name>text</name> - <string>LinkToRoot</string> + <string>Link To Root</string> </property> <property stdset="1"> |