clang-format

This commit is contained in:
Xphalnos 2025-01-09 20:51:38 +01:00
parent a484ed03f9
commit 2f7e586b81
2 changed files with 6 additions and 6 deletions

View File

@ -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,

View File

@ -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));