Skip to content

Commit

Permalink
Fix typo in file dialog filter for saving launcher files
Browse files Browse the repository at this point in the history
  • Loading branch information
soramimi committed Jul 13, 2023
1 parent ce73be0 commit 0df98b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6456,7 +6456,7 @@ void MainWindow::on_action_create_desktop_launcher_file_triggered()
QString name = "jp.soramimi.Guitar";
QString iconfile = icon_dir / name + ".svg";
QString launcher_path = launcher_dir / name + ".desktop";
launcher_path = QFileDialog::getSaveFileName(this, tr("Save Launcher File"), launcher_path, "Luancher files (*.desktop)");
launcher_path = QFileDialog::getSaveFileName(this, tr("Save Launcher File"), launcher_path, "Launcher files (*.desktop)");

bool ok = false;

Expand Down Expand Up @@ -6509,7 +6509,7 @@ Terminal=false
QString name = APPLICATION_NAME;
QString iconpath = target_path;//icon_dir / name + ".ico";
QString launcher_path = launcher_dir / name + ".lnk";
QString lnkpath = QFileDialog::getSaveFileName(this, tr("Save Launcher File"), launcher_path, "Luancher files (*.lnk)");
QString lnkpath = QFileDialog::getSaveFileName(this, tr("Save Launcher File"), launcher_path, "Launcher files (*.lnk)");
data.iconpath = (wchar_t const *)iconpath.utf16();
data.lnkpath = (wchar_t const *)lnkpath.utf16();

Expand Down

0 comments on commit 0df98b1

Please sign in to comment.