mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 11:02:30 -04:00
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:
parent
2664cf2f9a
commit
400d3179e8
9 changed files with 33 additions and 68 deletions
|
@ -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.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue