Diffstat (limited to 'noncore/apps/opie-console/profilemanager.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/profilemanager.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/noncore/apps/opie-console/profilemanager.cpp b/noncore/apps/opie-console/profilemanager.cpp index 95a46f9..e5aedb6 100644 --- a/noncore/apps/opie-console/profilemanager.cpp +++ b/noncore/apps/opie-console/profilemanager.cpp | |||
@@ -24,7 +24,6 @@ ProfileManager::~ProfileManager() { | |||
24 | } | 24 | } |
25 | void ProfileManager::load() { | 25 | void ProfileManager::load() { |
26 | m_list.clear(); | 26 | m_list.clear(); |
27 | qWarning("load"); | ||
28 | ProfileConfig conf("opie-console-profiles"); | 27 | ProfileConfig conf("opie-console-profiles"); |
29 | QStringList groups = conf.groups(); | 28 | QStringList groups = conf.groups(); |
30 | QStringList::Iterator it; | 29 | QStringList::Iterator it; |
@@ -33,13 +32,11 @@ void ProfileManager::load() { | |||
33 | * for each profile | 32 | * for each profile |
34 | */ | 33 | */ |
35 | for ( it = groups.begin(); it != groups.end(); ++it ) { | 34 | for ( it = groups.begin(); it != groups.end(); ++it ) { |
36 | qWarning("group " + (*it) ); | ||
37 | conf.setGroup( (*it) ); | 35 | conf.setGroup( (*it) ); |
38 | Profile prof; | 36 | Profile prof; |
39 | prof.setName( conf.readEntry("name") ); | 37 | prof.setName( conf.readEntry("name") ); |
40 | prof.setIOLayer( conf.readEntry("iolayer").utf8() ); | 38 | prof.setIOLayer( conf.readEntry("iolayer").utf8() ); |
41 | prof.setTerminalName( conf.readEntry("term").utf8() ); | 39 | prof.setTerminalName( conf.readEntry("term").utf8() ); |
42 | qWarning(" %s %s", conf.readEntry("iolayer").latin1(), prof.ioLayerName().data() ); | ||
43 | prof.setBackground( conf.readNumEntry("back") ); | 40 | prof.setBackground( conf.readNumEntry("back") ); |
44 | prof.setForeground( conf.readNumEntry("fore") ); | 41 | prof.setForeground( conf.readNumEntry("fore") ); |
45 | prof.setTerminal( conf.readNumEntry("terminal") ); | 42 | prof.setTerminal( conf.readNumEntry("terminal") ); |
@@ -121,7 +118,6 @@ void ProfileManager::save( ) { | |||
121 | 118 | ||
122 | conf.writeEntry( "name", (*it2).name() ); | 119 | conf.writeEntry( "name", (*it2).name() ); |
123 | QString str = QString::fromUtf8( (*it2).ioLayerName() ); | 120 | QString str = QString::fromUtf8( (*it2).ioLayerName() ); |
124 | qWarning("IOLayerName " + str ); | ||
125 | 121 | ||
126 | conf.writeEntry( "iolayer", str ); | 122 | conf.writeEntry( "iolayer", str ); |
127 | conf.writeEntry( "term", QString::fromUtf8( (*it2).terminalName() ) ); | 123 | conf.writeEntry( "term", QString::fromUtf8( (*it2).terminalName() ) ); |