Update main.cpp
This commit is contained in:
parent
aaeb587f1e
commit
15c5239bb8
1 changed files with 4 additions and 4 deletions
|
@ -2874,15 +2874,15 @@ void GMainWindow::OnGameListCreateShortcut(u64 program_id, const std::string& ga
|
||||||
|
|
||||||
switch (target) {
|
switch (target) {
|
||||||
case GameListShortcutTarget::Desktop: {
|
case GameListShortcutTarget::Desktop: {
|
||||||
const QString desktop_Path =
|
const QString desktop_path =
|
||||||
QStandardPaths::writableLocation(QStandardPaths::DesktopLocation);
|
QStandardPaths::writableLocation(QStandardPaths::DesktopLocation);
|
||||||
target_directory = desktop_Path.toUtf8().toStdString();
|
target_directory = desktop_path.toUtf8().toStdString();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case GameListShortcutTarget::Applications: {
|
case GameListShortcutTarget::Applications: {
|
||||||
const QString applications_Path =
|
const QString applications_path =
|
||||||
QStandardPaths::writableLocation(QStandardPaths::ApplicationsLocation);
|
QStandardPaths::writableLocation(QStandardPaths::ApplicationsLocation);
|
||||||
target_directory = applications_Path.toUtf8().toStdString();
|
target_directory = applications_path.toUtf8().toStdString();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue