Add "Open Quickstart Guide" and "FAQ" buttons to the Help menu

While we're at it, also refactor the function used by OnOpenModsPage to be compatible with other URLs
This commit is contained in:
VolcaEM 2020-06-25 23:02:33 +02:00 committed by GitHub
parent 51b91cc0d9
commit a6150263c9
3 changed files with 48 additions and 0 deletions

View file

@ -181,6 +181,9 @@ private slots:
void OnPauseGame();
void OnStopGame();
void OnMenuReportCompatibility();
void OnOpenModsPage();
void OnQuickstartGuide();
void OnFAQ();
/// Called whenever a user selects a game in the game list widget.
void OnGameListLoadFile(QString game_path);
void OnGameListOpenFolder(GameListOpenTarget target, const std::string& game_path);
@ -219,6 +222,7 @@ private:
void UpdateStatusBar();
void HideMouseCursor();
void ShowMouseCursor();
void OpenURL(const QString& url_str);
Ui::MainWindow ui;