* Fixed Defnax's Status Bar.

* Fixed 'Offline' bug in MessengerWindow.
 * Added isOnline function to rspeers interface.
 * Cleaned up some stuff.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@610 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2008-06-16 20:28:16 +00:00
parent 1389c617e9
commit 0d6471433c
6 changed files with 17 additions and 40 deletions

View file

@ -296,7 +296,8 @@ void MessengerWindow::connectfriend2()
if (!i)
return;
if (isOnline)
std::string id = (i -> text(4)).toStdString();
if (rsPeers->isOnline(id))
{
std::cerr << "MessengerWindow::connectfriend2() Already online" << std::endl;
}
@ -368,7 +369,7 @@ void MessengerWindow::chatfriend2()
std::string name = (i -> text(0)).toStdString();
std::string id = (i -> text(4)).toStdString();
if (!isOnline)
if (!(rsPeers->isOnline(id)))
{
/* info dialog */
QMessageBox::StandardButton sb = QMessageBox::question ( NULL,