mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-05 08:52:36 +00:00
typo
This commit is contained in:
parent
25aef249c4
commit
24bfc41341
@ -141,7 +141,7 @@ bool CompatibilityInfoClass::LoadCompatibilityFile() {
|
|||||||
QFileInfo check_file(m_compatibility_filename);
|
QFileInfo check_file(m_compatibility_filename);
|
||||||
const auto modified_delta = QDateTime::currentDateTime() - check_file.lastModified();
|
const auto modified_delta = QDateTime::currentDateTime() - check_file.lastModified();
|
||||||
if (!check_file.exists() ||
|
if (!check_file.exists() ||
|
||||||
!check_file.isFile() &&
|
!check_file.isFile() ||
|
||||||
std::chrono::duration_cast<std::chrono::minutes>(modified_delta).count() > 60) {
|
std::chrono::duration_cast<std::chrono::minutes>(modified_delta).count() > 60) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -75,7 +75,7 @@ GameListFrame::GameListFrame(std::shared_ptr<GameInfoClass> game_info_get,
|
|||||||
m_gui_context_menus.RequestGameMenu(pos, m_game_info->m_games, this, true);
|
m_gui_context_menus.RequestGameMenu(pos, m_game_info->m_games, this, true);
|
||||||
});
|
});
|
||||||
|
|
||||||
connect(this, &QTableWidget::cellClicked, this, [=](int row, int column) {
|
connect(this, &QTableWidget::cellClicked, this, [=, this](int row, int column) {
|
||||||
if (column == 2 && !m_game_info->m_games[row].compatibility.url.isEmpty()) {
|
if (column == 2 && !m_game_info->m_games[row].compatibility.url.isEmpty()) {
|
||||||
QDesktopServices::openUrl(QUrl(m_game_info->m_games[row].compatibility.url));
|
QDesktopServices::openUrl(QUrl(m_game_info->m_games[row].compatibility.url));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user