mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-06 17:32:40 +00:00
clang-format
This commit is contained in:
parent
a484ed03f9
commit
2f7e586b81
@ -248,11 +248,10 @@ void MainWindow::CreateConnects() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
connect(ui->shadFolderAct, &QAction::triggered, this, [this]() {
|
connect(ui->shadFolderAct, &QAction::triggered, this, [this]() {
|
||||||
QString userPath;
|
QString userPath;
|
||||||
Common::FS::PathToQString(userPath,
|
Common::FS::PathToQString(userPath, Common::FS::GetUserPath(Common::FS::PathType::UserDir));
|
||||||
Common::FS::GetUserPath(Common::FS::PathType::UserDir));
|
QDesktopServices::openUrl(QUrl::fromLocalFile(userPath));
|
||||||
QDesktopServices::openUrl(QUrl::fromLocalFile(userPath));
|
});
|
||||||
});
|
|
||||||
|
|
||||||
connect(ui->playButton, &QPushButton::clicked, this, &MainWindow::StartGame);
|
connect(ui->playButton, &QPushButton::clicked, this, &MainWindow::StartGame);
|
||||||
connect(m_game_grid_frame.get(), &QTableWidget::cellDoubleClicked, this,
|
connect(m_game_grid_frame.get(), &QTableWidget::cellDoubleClicked, this,
|
||||||
|
@ -339,7 +339,8 @@ public:
|
|||||||
"MainWindow", "Install application from a .pkg file", nullptr));
|
"MainWindow", "Install application from a .pkg file", nullptr));
|
||||||
#endif // QT_CONFIG(tooltip)
|
#endif // QT_CONFIG(tooltip)
|
||||||
menuRecent->setTitle(QCoreApplication::translate("MainWindow", "Recent Games", nullptr));
|
menuRecent->setTitle(QCoreApplication::translate("MainWindow", "Recent Games", nullptr));
|
||||||
shadFolderAct->setText(QCoreApplication::translate("MainWindow", "Open shadPS4 Folder", nullptr));
|
shadFolderAct->setText(
|
||||||
|
QCoreApplication::translate("MainWindow", "Open shadPS4 Folder", nullptr));
|
||||||
exitAct->setText(QCoreApplication::translate("MainWindow", "Exit", nullptr));
|
exitAct->setText(QCoreApplication::translate("MainWindow", "Exit", nullptr));
|
||||||
#if QT_CONFIG(tooltip)
|
#if QT_CONFIG(tooltip)
|
||||||
exitAct->setToolTip(QCoreApplication::translate("MainWindow", "Exit shadPS4", nullptr));
|
exitAct->setToolTip(QCoreApplication::translate("MainWindow", "Exit shadPS4", nullptr));
|
||||||
|
Loading…
Reference in New Issue
Block a user