-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 | |||
@@ -287,9 +287,13 @@ void NetworkPackageManager :: serverSelected( int ) | |||
287 | new QCheckListItem( item, QString( "Installed To - " ) + destName ); | 287 | new QCheckListItem( item, QString( "Installed To - " ) + destName ); |
288 | } | 288 | } |
289 | 289 | ||
290 | if ( !it->isPackageStoredLocally() ) | 290 | if ( !it->isPackageStoredLocally() ) |
291 | { | ||
291 | new QCheckListItem( item, QString( "Description - " ) + it->getDescription() ); | 292 | new QCheckListItem( item, QString( "Description - " ) + it->getDescription() ); |
293 | new QCheckListItem( item, QString( "Size - " ) + it->getPackageSize() ); | ||
294 | new QCheckListItem( item, QString( "Section - " ) + it->getSection() ); | ||
295 | } | ||
292 | else | 296 | else |
293 | new QCheckListItem( item, QString( "Filename - " ) + it->getFilename() ); | 297 | new QCheckListItem( item, QString( "Filename - " ) + it->getFilename() ); |
294 | 298 | ||
295 | if ( serverName == LOCAL_SERVER ) | 299 | if ( serverName == LOCAL_SERVER ) |
@@ -305,10 +309,8 @@ void NetworkPackageManager :: serverSelected( int ) | |||
305 | new QCheckListItem( item, QString( "V. Installed - " ) + it->getInstalledVersion() ); | 309 | new QCheckListItem( item, QString( "V. Installed - " ) + it->getInstalledVersion() ); |
306 | } | 310 | } |
307 | } | 311 | } |
308 | 312 | ||
309 | new QCheckListItem( item, QString( "Size - " ) + it->getPackageSize() ); | ||
310 | new QCheckListItem( item, QString( "Section - " ) + it->getSection() ); | ||
311 | packagesList->insertItem( item ); | 313 | packagesList->insertItem( item ); |
312 | } | 314 | } |
313 | 315 | ||
314 | // If the local server or the local ipkgs server disable the download button | 316 | // If the local server or the local ipkgs server disable the download button |
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 | |||
@@ -20,8 +20,14 @@ | |||
20 | 20 | ||
21 | Package::Package( QString &name ) | 21 | Package::Package( QString &name ) |
22 | { | 22 | { |
23 | packageName = name; | 23 | packageName = name; |
24 | |||
25 | version = "N/A"; | ||
26 | description = "N/A"; | ||
27 | packageSize = "N/A"; | ||
28 | section = "N/A"; | ||
29 | |||
24 | localPackage = 0; | 30 | localPackage = 0; |
25 | installed = false; | 31 | installed = false; |
26 | packageStoredLocally = false; | 32 | packageStoredLocally = false; |
27 | installedToRoot = false; | 33 | installedToRoot = false; |
@@ -31,8 +37,14 @@ Package::Package( QString &name ) | |||
31 | 37 | ||
32 | Package::Package( char *name ) | 38 | Package::Package( char *name ) |
33 | { | 39 | { |
34 | packageName = name; | 40 | packageName = name; |
41 | |||
42 | version = "N/A"; | ||
43 | description = "N/A"; | ||
44 | packageSize = "N/A"; | ||
45 | section = "N/A"; | ||
46 | |||
35 | localPackage = 0; | 47 | localPackage = 0; |
36 | installed = false; | 48 | installed = false; |
37 | packageStoredLocally = false; | 49 | packageStoredLocally = false; |
38 | installedToRoot = false; | 50 | installedToRoot = 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 | |||
@@ -478,9 +478,9 @@ | |||
478 | <cstring>linkToRoot</cstring> | 478 | <cstring>linkToRoot</cstring> |
479 | </property> | 479 | </property> |
480 | <property stdset="1"> | 480 | <property stdset="1"> |
481 | <name>text</name> | 481 | <name>text</name> |
482 | <string>LinkToRoot</string> | 482 | <string>Link To Root</string> |
483 | </property> | 483 | </property> |
484 | <property stdset="1"> | 484 | <property stdset="1"> |
485 | <name>checked</name> | 485 | <name>checked</name> |
486 | <bool>true</bool> | 486 | <bool>true</bool> |