mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 22:25:04 -04:00
* 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:
parent
1389c617e9
commit
0d6471433c
6 changed files with 17 additions and 40 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue