MSVC Compiler Warnings

This commit is contained in:
collecting
2026-02-04 09:38:36 -05:00
parent 105aa1dcb4
commit d919f1da3b
3 changed files with 9 additions and 8 deletions

View File

@@ -1638,10 +1638,9 @@ void GameList::AddGamePopup(QMenu& context_menu, u64 program_id, const std::stri
const QFileInfo file_info(qpath); const QFileInfo file_info(qpath);
QDesktopServices::openUrl(QUrl::fromLocalFile(file_info.absolutePath())); QDesktopServices::openUrl(QUrl::fromLocalFile(file_info.absolutePath()));
}); });
connect(open_save_location, &QAction::triggered, connect(open_save_location, &QAction::triggered, [this, program_id, path_str]() {
[this, program_id, game_name, copyWithProgress, path_str]() { emit OpenFolderRequested(program_id, GameListOpenTarget::SaveData, path_str);
emit OpenFolderRequested(program_id, GameListOpenTarget::SaveData, path_str); });
});
connect(set_custom_save_path, &QAction::triggered, [this, program_id, copyWithProgress]() { connect(set_custom_save_path, &QAction::triggered, [this, program_id, copyWithProgress]() {
const QString new_path = const QString new_path =

View File

@@ -4629,13 +4629,13 @@ void GMainWindow::LoadAmiibo(const QString& filename) {
} }
void GMainWindow::OnOpenCitronFolder() { void GMainWindow::OnOpenCitronFolder() {
QDesktopServices::openUrl(QUrl::fromLocalFile( QDesktopServices::openUrl(QUrl::fromLocalFile(QString::fromStdString(
QString::fromStdString(Common::FS::GetCitronPath(Common::FS::CitronPath::CitronDir)))); Common::FS::GetCitronPath(Common::FS::CitronPath::CitronDir).string())));
} }
void GMainWindow::OnOpenLogFolder() { void GMainWindow::OnOpenLogFolder() {
QDesktopServices::openUrl(QUrl::fromLocalFile( QDesktopServices::openUrl(QUrl::fromLocalFile(QString::fromStdString(
QString::fromStdString(Common::FS::GetCitronPath(Common::FS::CitronPath::LogDir)))); Common::FS::GetCitronPath(Common::FS::CitronPath::LogDir).string())));
} }
void GMainWindow::OnVerifyInstalledContents() { void GMainWindow::OnVerifyInstalledContents() {

View File

@@ -3,6 +3,8 @@
#pragma once #pragma once
#include <mutex>
#include <QKeyEvent> #include <QKeyEvent>
#include <QObject> #include <QObject>