* UserSettings class
*
* @author Olavi Pulkkinen <olavi.pulkkinen@fudeco.com>
+ * @author Toni Jussila <toni.jussila@fudeco.com>
* @copyright (c) 2010 Speed Freak team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*/
myLogin.writeLoginSettings( userName, password);
}
-/*
+/**
* Function to test if login info saved.
* Returns true if so.
*/
myLogin.readLoginSettings( &userName, &password);
- if (userName.length() > 0)
+ if (userName.compare(""))
{
return true;
}