Update main.cpp
This commit is contained in:
parent
909eafafa2
commit
0479b0b927
1 changed files with 1 additions and 1 deletions
|
@ -2875,7 +2875,7 @@ void GMainWindow::OnGameListCreateShortcut(u64 program_id, const std::string& ga
|
|||
// Determine target directory for shortcut
|
||||
if (target == GameListShortcutTarget::Desktop) {
|
||||
const auto desktop_path = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation);
|
||||
target_directory = desktopPath.toUtf8().toStdString();
|
||||
target_directory = desktop_path.toUtf8().toStdString();
|
||||
const QDir dir(QString::fromStdString(target_directory.generic_string()));
|
||||
if (!dir.exists()) {
|
||||
QMessageBox::critical(
|
||||
|
|
Loading…
Add table
Reference in a new issue