Fixed display of version information.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7998 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2015-03-08 13:31:44 +00:00
parent 2664cf2f9a
commit 400d3179e8
9 changed files with 33 additions and 68 deletions

View file

@ -26,6 +26,7 @@
#include "retroshare/rsconfig.h"
#include "retroshare-gui/RsAutoUpdatePage.h"
#include "rshare.h"
#include <QDesktopServices>
@ -330,12 +331,10 @@ void GetStartedDialog::emailSupport()
return;
}
std::string versionString;
uint32_t userLevel;
{
RsAutoUpdatePage::lockAllEvents();
rsDisc->getPeerVersion(rsPeers->getOwnId(), versionString);
userLevel = rsConfig->getUserLevel();
RsAutoUpdatePage::unlockAllEvents() ;
@ -434,7 +433,7 @@ void GetStartedDialog::emailSupport()
sysVersion = "Linux";
#endif
#endif
text += QString("My RetroShare Configuration is: (%1, %2, 0x60%3)").arg(QString::fromStdString(versionString)).arg(sysVersion).arg(userLevel) + "\n";
text += QString("My RetroShare Configuration is: (%1, %2, 0x60%3)").arg(Rshare::retroshareVersion(true)).arg(sysVersion).arg(userLevel) + "\n";
text += "\n";
text += QString("I am having trouble with RetroShare.");