Diffstat (limited to 'noncore/apps/opie-console/profilemanager.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/profilemanager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/profilemanager.cpp b/noncore/apps/opie-console/profilemanager.cpp index c8a4db5..24256a5 100644 --- a/noncore/apps/opie-console/profilemanager.cpp +++ b/noncore/apps/opie-console/profilemanager.cpp | |||
@@ -14,16 +14,18 @@ ProfileManager::~ProfileManager() { | |||
14 | 14 | ||
15 | } | 15 | } |
16 | void ProfileManager::load() { | 16 | void ProfileManager::load() { |
17 | m_list.clear(); | 17 | m_list.clear(); |
18 | qWarning("load"); | ||
18 | ProfileConfig conf("opie-console-profiles"); | 19 | ProfileConfig conf("opie-console-profiles"); |
19 | QStringList groups = conf.groups(); | 20 | QStringList groups = conf.groups(); |
20 | QStringList::Iterator it; | 21 | QStringList::Iterator it; |
21 | 22 | ||
22 | /* | 23 | /* |
23 | * for each profile | 24 | * for each profile |
24 | */ | 25 | */ |
25 | for ( it = groups.begin(); it != groups.end(); ++it ) { | 26 | for ( it = groups.begin(); it != groups.end(); ++it ) { |
27 | qWarning("group " + (*it) ); | ||
26 | conf.setGroup( (*it) ); | 28 | conf.setGroup( (*it) ); |
27 | Profile prof; | 29 | Profile prof; |
28 | prof.setName( conf.readEntry("name") ); | 30 | prof.setName( conf.readEntry("name") ); |
29 | prof.setIOLayer( conf.readEntry("iolayer") ); | 31 | prof.setIOLayer( conf.readEntry("iolayer") ); |