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 @@ -37,8 +37,11 @@ void ProfileManager::load() { m_list.append( prof ); } } +void ProfileManager::clear() { + m_list.clear(); +} Profile::ValueList ProfileManager::all()const { return m_list; } Session* ProfileManager::fromProfile( const Profile& prof) { @@ -54,9 +57,9 @@ Session* ProfileManager::fromProfile( const Profile& prof) { */ return session; } void ProfileManager::save( ) { - m_list.clear(); ProfileConfig conf("opie-console-profiles"); + conf.clearAll(); Session* se= 0l; // FIXME save } |