summaryrefslogtreecommitdiff
authorharlekin <harlekin>2004-03-06 00:44:40 (UTC)
committer harlekin <harlekin>2004-03-06 00:44:40 (UTC)
commit4aea85aa2e205040da3ebdf50debde8b296e3c61 (patch) (unidiff)
tree424ee07b5886d70d45cc5d3b5c9ed6d32fd06d5f
parent7b10be8e0ed88afe9e8964e6b5f1fe449cee3609 (diff)
downloadopie-4aea85aa2e205040da3ebdf50debde8b296e3c61.zip
opie-4aea85aa2e205040da3ebdf50debde8b296e3c61.tar.gz
opie-4aea85aa2e205040da3ebdf50debde8b296e3c61.tar.bz2
ups, works now .-)
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/editaccounts.cpp11
-rw-r--r--noncore/net/mail/libmailwrapper/nntpwrapper.cpp2
2 files changed, 8 insertions, 5 deletions
diff --git a/noncore/net/mail/editaccounts.cpp b/noncore/net/mail/editaccounts.cpp
index 215380d..b8aad11 100644
--- a/noncore/net/mail/editaccounts.cpp
+++ b/noncore/net/mail/editaccounts.cpp
@@ -519,3 +519,3 @@ void NNTPconfig::slotGetNG() {
519 if ( subscribedGroups.contains( ( QString )group->grp_name ) >= 1 ) { 519 if ( subscribedGroups.contains( ( QString )group->grp_name ) >= 1 ) {
520 item->setSelected( true ); 520 item->setOn( true );
521 } 521 }
@@ -559,5 +559,7 @@ void NNTPconfig::save()
559 QListViewItemIterator list_it( ListViewGroups ); 559 QListViewItemIterator list_it( ListViewGroups );
560 for ( ; list_it.current(); ++list_it ) { 560
561 QStringList groupList; 561 QStringList groupList;
562 if ( list_it.current()->isSelected() ) { 562 for ( ; list_it.current(); ++list_it ) {
563
564 if ( ( (QCheckListItem*)list_it.current() )->isOn() ) {
563 qDebug(list_it.current()->text(0) ); 565 qDebug(list_it.current()->text(0) );
@@ -565,4 +567,5 @@ void NNTPconfig::save()
565 } 567 }
566 data->setGroups( groupList ); 568
567 } 569 }
570 data->setGroups( groupList );
568} 571}
diff --git a/noncore/net/mail/libmailwrapper/nntpwrapper.cpp b/noncore/net/mail/libmailwrapper/nntpwrapper.cpp
index 2d6f9a3..ecdf848 100644
--- a/noncore/net/mail/libmailwrapper/nntpwrapper.cpp
+++ b/noncore/net/mail/libmailwrapper/nntpwrapper.cpp
@@ -126,3 +126,3 @@ void NNTPwrapper::login()
126 126
127 if ( account->getUser().isEmpty() || account->getPassword().isEmpty() ) { 127 if ( ( account->getUser().isEmpty() || account->getPassword().isEmpty() ) && account->getLogin() ) {
128 LoginDialog login( account->getUser(), account->getPassword(), NULL, 0, true ); 128 LoginDialog login( account->getUser(), account->getPassword(), NULL, 0, true );