-rw-r--r-- | noncore/settings/aqpkg/networkpkgmgr.cpp | 3 | ||||
-rw-r--r-- | noncore/settings/aqpkg/server.cpp | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/networkpkgmgr.cpp b/noncore/settings/aqpkg/networkpkgmgr.cpp index 0814121..cf94628 100644 --- a/noncore/settings/aqpkg/networkpkgmgr.cpp +++ b/noncore/settings/aqpkg/networkpkgmgr.cpp @@ -86,5 +86,5 @@ void NetworkPackageManager :: timerEvent ( QTimerEvent * ) void NetworkPackageManager :: updateData() { - serversList->clear(); + serversList->clear(); packagesList->clear(); @@ -95,4 +95,5 @@ void NetworkPackageManager :: updateData() for ( i = 0, it = dataMgr->getServerList().begin() ; it != dataMgr->getServerList().end() ; ++it, ++i ) { + cout << "Adding " << it->getServerName() << " to combobox" << endl; if ( !it->isServerActive() ) { diff --git a/noncore/settings/aqpkg/server.cpp b/noncore/settings/aqpkg/server.cpp index 726cf00..58407d5 100644 --- a/noncore/settings/aqpkg/server.cpp +++ b/noncore/settings/aqpkg/server.cpp @@ -46,4 +46,5 @@ Server :: Server( const char *name, const char *url ) serverUrl = url; packageFile = IPKG_DIR; + active = true; packageFile += "lists/" + serverName; } |