summaryrefslogtreecommitdiff
authorandyq <andyq>2002-11-21 18:13:00 (UTC)
committer andyq <andyq>2002-11-21 18:13:00 (UTC)
commita73b7fa027ccbcc8c4eabb93a167ba992440514b (patch) (side-by-side diff)
tree894a624647196869fb7b3aaf641363c5ad18d8f5
parent5e806f161bc0bde64d5058dab4850c45aeba2cdf (diff)
downloadopie-a73b7fa027ccbcc8c4eabb93a167ba992440514b.zip
opie-a73b7fa027ccbcc8c4eabb93a167ba992440514b.tar.gz
opie-a73b7fa027ccbcc8c4eabb93a167ba992440514b.tar.bz2
Changed debug message slightly
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/aqpkg/networkpkgmgr.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/networkpkgmgr.cpp b/noncore/settings/aqpkg/networkpkgmgr.cpp
index cf94628..e8e2982 100644
--- a/noncore/settings/aqpkg/networkpkgmgr.cpp
+++ b/noncore/settings/aqpkg/networkpkgmgr.cpp
@@ -81,35 +81,36 @@ void NetworkPackageManager :: timerEvent ( QTimerEvent * )
// Add server names to listbox
updateData();
}
void NetworkPackageManager :: updateData()
{
serversList->clear();
packagesList->clear();
vector<Server>::iterator it;
int activeItem = -1;
int i;
for ( i = 0, it = dataMgr->getServerList().begin() ; it != dataMgr->getServerList().end() ; ++it, ++i )
{
- cout << "Adding " << it->getServerName() << " to combobox" << endl;
+// cout << "Adding " << it->getServerName() << " to combobox" << endl;
if ( !it->isServerActive() )
{
+ cout << it->getServerName() << " is not active" << endl;
i--;
continue;
}
serversList->insertItem( it->getServerName() );
if ( it->getServerName() == currentlySelectedServer )
activeItem = i;
}
// set selected server to be active server
if ( activeItem != -1 )
serversList->setCurrentItem( activeItem );
serverSelected( 0 );
}
void NetworkPackageManager :: selectLocalPackage( const QString &pkg )
{