Diffstat (limited to 'noncore/apps/opie-console/profilemanager.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/profilemanager.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/profilemanager.cpp b/noncore/apps/opie-console/profilemanager.cpp index db36686..54b184d 100644 --- a/noncore/apps/opie-console/profilemanager.cpp +++ b/noncore/apps/opie-console/profilemanager.cpp | |||
@@ -40,2 +40,5 @@ void ProfileManager::load() { | |||
40 | } | 40 | } |
41 | void ProfileManager::clear() { | ||
42 | m_list.clear(); | ||
43 | } | ||
41 | Profile::ValueList ProfileManager::all()const { | 44 | Profile::ValueList ProfileManager::all()const { |
@@ -57,4 +60,4 @@ Session* ProfileManager::fromProfile( const Profile& prof) { | |||
57 | void ProfileManager::save( ) { | 60 | void ProfileManager::save( ) { |
58 | m_list.clear(); | ||
59 | ProfileConfig conf("opie-console-profiles"); | 61 | ProfileConfig conf("opie-console-profiles"); |
62 | conf.clearAll(); | ||
60 | Session* se= 0l; | 63 | Session* se= 0l; |