From 4e5580f3d902a783f92d4865864e411de2064c30 Mon Sep 17 00:00:00 2001 From: nordsoft Date: Sun, 1 Oct 2023 02:39:03 +0200 Subject: [PATCH] Fix typo --- mapeditor/mainwindow.cpp | 6 +++--- mapeditor/mainwindow.h | 2 +- mapeditor/mainwindow.ui | 9 ++++++--- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/mapeditor/mainwindow.cpp b/mapeditor/mainwindow.cpp index 0dcf519d2..04f54bc8f 100644 --- a/mapeditor/mainwindow.cpp +++ b/mapeditor/mainwindow.cpp @@ -1248,15 +1248,15 @@ void MainWindow::on_actionTranslations_triggered() translationsDialog->show(); } -void MainWindow::on_actionh3m_coverter_triggered() +void MainWindow::on_actionh3m_converter_triggered() { - auto mapFiles = QFileDialog::getOpenFileNames(this, tr("Select maps to covert"), + auto mapFiles = QFileDialog::getOpenFileNames(this, tr("Select maps to convert"), QString::fromStdString(VCMIDirs::get().userCachePath().make_preferred().string()), tr("HoMM3 maps(*.h3m)")); if(mapFiles.empty()) return; - auto saveDirectory = QFileDialog::getExistingDirectory(this, tr("Choose directory to save coverted maps"), QCoreApplication::applicationDirPath()); + auto saveDirectory = QFileDialog::getExistingDirectory(this, tr("Choose directory to save converted maps"), QCoreApplication::applicationDirPath()); if(saveDirectory.isEmpty()) return; diff --git a/mapeditor/mainwindow.h b/mapeditor/mainwindow.h index 74b051d80..6ff39d165 100644 --- a/mapeditor/mainwindow.h +++ b/mapeditor/mainwindow.h @@ -121,7 +121,7 @@ private slots: void on_actionTranslations_triggered(); - void on_actionh3m_coverter_triggered(); + void on_actionh3m_converter_triggered(); public slots: diff --git a/mapeditor/mainwindow.ui b/mapeditor/mainwindow.ui index 73a73c89f..01aae4a05 100644 --- a/mapeditor/mainwindow.ui +++ b/mapeditor/mainwindow.ui @@ -63,7 +63,7 @@ - + @@ -1333,9 +1333,12 @@ Ctrl+T - + - h3m coverter + h3m converter + + + h3m converter