From acf708cee945b8b843b0132672d79f5c4571c22b Mon Sep 17 00:00:00 2001 From: zecke Date: Thu, 24 Oct 2002 12:13:09 +0000 Subject: Fixed warnings Now we're down to two warning with number conversions Enable Saving Sessions Enable Copy and Paste --- (limited to 'noncore/apps/opie-console/profilemanager.cpp') diff --git a/noncore/apps/opie-console/profilemanager.cpp b/noncore/apps/opie-console/profilemanager.cpp index 5d39d96..cad2567 100644 --- a/noncore/apps/opie-console/profilemanager.cpp +++ b/noncore/apps/opie-console/profilemanager.cpp @@ -93,6 +93,7 @@ Session* ProfileManager::fromProfile( const Profile& prof, QWidget* parent) { EmulationHandler* handler = new EmulationHandler(prof,dummy ); session->setEmulationHandler( handler ); session->connect(); + session->setProfile( prof ); return session; } @@ -121,6 +122,9 @@ void ProfileManager::save( ) { conf.writeEntry( "terminal", (*it2).terminal() ); } } +void ProfileManager::add( const Profile& prof) { + m_list.append( prof ); +} void ProfileManager::setProfiles( const Profile::ValueList& list ) { m_list = list; }; -- cgit v0.9.0.2