Diffstat (limited to 'noncore/unsupported/oipkg/settings.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/settings.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/unsupported/oipkg/settings.cpp b/noncore/unsupported/oipkg/settings.cpp index 2b324be..8f91995 100644 --- a/noncore/unsupported/oipkg/settings.cpp +++ b/noncore/unsupported/oipkg/settings.cpp @@ -413,24 +413,29 @@ QStringList PackageManagerSettings::getActiveServers() QStringList sl; for (int i=0; i<(int)activeServers->count(); i++) { if ( activeServers->isSelected(i) ) sl += activeServers->text(i); } return sl; } /** returns the destination listed in ipkg.conf */ QStringList PackageManagerSettings::getDestinationUrls() { QStringList sl; for (int i=0; i<(int)destinations->count(); i++) { sl += *destinationurlDic[i]; } return sl; } void PackageManagerSettings::linkEnabled( bool b ) { activeLinkDestination->setEnabled( b ); } + +void PackageManagerSettings::activeDestinationChange(int i) +{ + activeLinkDestination->setCurrentItem( i ); +}
\ No newline at end of file |