mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-07 20:22:27 +02:00
Add "Talk" link to "Help" menu.
This commit is contained in:
parent
45f2b672b5
commit
8df362ef1f
2 changed files with 7 additions and 6 deletions
|
@ -827,10 +827,10 @@ Menu::Menu() {
|
|||
});
|
||||
|
||||
// Help > Vircadia Forum
|
||||
/* action = addActionToQMenuAndActionHash(helpMenu, "Online Forums");
|
||||
action = addActionToQMenuAndActionHash(helpMenu, "Talk");
|
||||
connect(action, &QAction::triggered, qApp, [] {
|
||||
QDesktopServices::openUrl(NetworkingConstants::HELP_FORUM_URL));
|
||||
}); */
|
||||
QDesktopServices::openUrl(NetworkingConstants::TALK_DIRECTORY_URL));
|
||||
});
|
||||
|
||||
// Help > Scripting Reference
|
||||
action = addActionToQMenuAndActionHash(helpMenu, "Online Script Reference");
|
||||
|
|
|
@ -71,10 +71,11 @@ namespace NetworkingConstants {
|
|||
const unsigned short STUN_SERVER_DEFAULT_PORT = 19302;
|
||||
#endif
|
||||
|
||||
const QUrl HELP_DOCS_URL { "https://docs.vircadia.dev" };
|
||||
const QUrl HELP_FORUM_URL { "https://forums.vircadia.dev" };
|
||||
const QUrl HELP_DOCS_URL{ "https://docs.vircadia.com" };
|
||||
const QUrl HELP_FORUM_URL{ "https://forum.vircadia.com" };
|
||||
const QUrl TALK_DIRECTORY_URL{ "https://vircadia.com/#talk" };
|
||||
const QUrl HELP_SCRIPTING_REFERENCE_URL{ "https://apidocs.vircadia.dev/" };
|
||||
const QUrl HELP_RELEASE_NOTES_URL{ "https://docs.vircadia.dev/release-notes.html" };
|
||||
const QUrl HELP_RELEASE_NOTES_URL{ "https://docs.vircadia.com/release-notes.html" };
|
||||
const QUrl HELP_BUG_REPORT_URL{ "https://github.com/vircadia/vircadia/issues" };
|
||||
|
||||
const QString DEFAULT_VIRCADIA_ADDRESS = "file:///~/serverless/tutorial.json";
|
||||
|
|
Loading…
Reference in a new issue