* Fixed rsStatus=NULL bug, for RS_RELEASE.

* switched on RS_RELEASE for v0.4.09a



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@599 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2008-06-13 23:36:40 +00:00
parent 9c2558dbf0
commit 9e947f26ca
2 changed files with 3 additions and 1 deletions

View File

@ -94,6 +94,8 @@
* #define RS_RELEASE_VERSION 1
****/
#define RS_RELEASE_VERSION 1
/** Constructor */
MainWindow::MainWindow(QWidget* parent, Qt::WFlags flags)
: QMainWindow(parent, flags)

View File

@ -196,7 +196,7 @@ void PeersDialog::insertPeers()
/* Append additional status info from status service */
StatusInfo statusInfo;
if (rsStatus->getStatus(*it, statusInfo))
if ((rsStatus) && (rsStatus->getStatus(*it, statusInfo)))
{
status.append(QString::fromStdString("/" + RsStatusString(statusInfo.status)));
}