mirror of
https://github.com/PabloMK7/citra.git
synced 2025-12-14 11:18:47 +00:00
qt: Add help option to open yuzu folder
This commit is contained in:
parent
a59920ed35
commit
31c394e9b5
3 changed files with 15 additions and 0 deletions
|
|
@ -569,6 +569,8 @@ void GMainWindow::ConnectMenuEvents() {
|
|||
});
|
||||
|
||||
// Help
|
||||
connect(ui.action_Open_Citra_Folder, &QAction::triggered, this,
|
||||
&GMainWindow::OnOpenCitraFolder);
|
||||
connect(ui.action_FAQ, &QAction::triggered,
|
||||
[]() { QDesktopServices::openUrl(QUrl("https://citra-emu.org/wiki/faq/")); });
|
||||
connect(ui.action_About, &QAction::triggered, this, &GMainWindow::OnMenuAboutCitra);
|
||||
|
|
@ -1330,6 +1332,11 @@ void GMainWindow::OnRemoveAmiibo() {
|
|||
}
|
||||
}
|
||||
|
||||
void GMainWindow::OnOpenCitraFolder() {
|
||||
QDesktopServices::openUrl(QUrl::fromLocalFile(
|
||||
QString::fromStdString(FileUtil::GetUserPath(FileUtil::UserPath::UserDir))));
|
||||
}
|
||||
|
||||
void GMainWindow::OnToggleFilterBar() {
|
||||
game_list->setFilterVisible(ui.action_Show_Filter_Bar->isChecked());
|
||||
if (ui.action_Show_Filter_Bar->isChecked()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue