diff --git a/retroshare-gui/src/gui/MainWindow.cpp b/retroshare-gui/src/gui/MainWindow.cpp index 18eed5905..9e036c64f 100644 --- a/retroshare-gui/src/gui/MainWindow.cpp +++ b/retroshare-gui/src/gui/MainWindow.cpp @@ -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) diff --git a/retroshare-gui/src/gui/PeersDialog.cpp b/retroshare-gui/src/gui/PeersDialog.cpp index e935e6fb9..290f7d5fd 100644 --- a/retroshare-gui/src/gui/PeersDialog.cpp +++ b/retroshare-gui/src/gui/PeersDialog.cpp @@ -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))); }