Update main.cpp

This commit is contained in:
DanielSvoboda 2023-10-11 20:11:04 -03:00 committed by GitHub
parent aaeb587f1e
commit 15c5239bb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2874,15 +2874,15 @@ void GMainWindow::OnGameListCreateShortcut(u64 program_id, const std::string& ga
switch (target) {
case GameListShortcutTarget::Desktop: {
const QString desktop_Path =
const QString desktop_path =
QStandardPaths::writableLocation(QStandardPaths::DesktopLocation);
target_directory = desktop_Path.toUtf8().toStdString();
target_directory = desktop_path.toUtf8().toStdString();
break;
}
case GameListShortcutTarget::Applications: {
const QString applications_Path =
const QString applications_path =
QStandardPaths::writableLocation(QStandardPaths::ApplicationsLocation);
target_directory = applications_Path.toUtf8().toStdString();
target_directory = applications_path.toUtf8().toStdString();
break;
}
default: